From a9dce0e42b9301a7a7c2bede64b6dc33fd5e6d6f Mon Sep 17 00:00:00 2001 From: Gunjan Vyas Date: Wed, 19 Apr 2023 15:25:38 +0530 Subject: [PATCH] Replace knative.dev/client references to knative.dev/client-pkg (#277) * Replace knative/client module with knative/client-pkg * Fix conflicts --------- Co-authored-by: David Simansky --- go.mod | 3 +- go.sum | 619 +----------------- pkg/command/autoscaling/list.go | 4 +- pkg/command/autoscaling/list_test.go | 2 +- pkg/command/autoscaling/update.go | 2 +- pkg/command/cdc/list.go | 6 +- pkg/command/domain/human_readable_flags.go | 2 +- pkg/command/domain/list.go | 2 +- pkg/command/domain/list_test.go | 2 +- pkg/command/registry/add.go | 2 +- pkg/command/registry/human_readable_flags.go | 2 +- pkg/command/registry/list.go | 4 +- pkg/command/registry/list_test.go | 2 +- pkg/command/registry/remove.go | 2 +- plugin/plugin.go | 2 +- test/e2e/kn_admin_test.go | 6 +- .../{client => client-pkg}/pkg/LICENSE | 0 .../client-pkg}/LICENSE | 0 .../pkg/apis/client/register.go | 2 +- .../pkg/apis/client/v1alpha1/doc.go | 4 +- .../pkg/apis/client/v1alpha1/export_types.go | 0 .../pkg/apis/client/v1alpha1/register.go | 2 +- .../client/v1alpha1/zz_generated.deepcopy.go | 0 .../pkg/config/defaults.go | 0 .../pkg/dynamic/client.go | 2 +- .../pkg/dynamic/client_mock.go | 2 +- .../pkg/dynamic/fake/fake.go | 2 +- .../{client => client-pkg}/pkg/dynamic/lib.go | 0 .../pkg/errors/errors.go | 0 .../pkg/errors/factory.go | 0 .../pkg/errors/knerror.go | 0 .../pkg/errors/types.go | 0 .../pkg/eventing/v1/client.go | 8 +- .../pkg/eventing/v1beta1/client.go | 4 +- .../pkg}/kn-source-pkg/test/e2e/common.go | 2 +- .../pkg}/kn-source-pkg/test/e2e/kn_plugin.go | 19 +- .../pkg/kn/commands/describe.go | 2 +- .../pkg/kn/commands/flags/listprint.go | 6 +- .../pkg/kn/commands/flags/sink.go | 4 +- .../pkg/kn/commands/human_readable_flags.go | 2 +- .../pkg/kn/commands/namespaced.go | 0 .../pkg/kn/commands/testing_helper.go | 10 +- .../pkg/kn/commands/types.go | 22 +- .../pkg/kn/config/config.go | 0 .../pkg/kn/config/types.go | 0 .../pkg/kn/flags/bool.go | 0 .../pkg/kn/flags/podspec_helper.go | 2 +- .../client-pkg/pkg/kn/plugin/types.go | 30 + .../pkg/messaging/v1/channels_client.go | 4 +- .../pkg/messaging/v1/channels_client_mock.go | 2 +- .../pkg/messaging/v1/client.go | 2 +- .../pkg/messaging/v1/subscriptions_client.go | 4 +- .../messaging/v1/subscriptions_client_mock.go | 2 +- .../pkg/printers/interface.go | 0 .../pkg/printers/prefixwriter.go | 0 .../pkg/printers/tablegenerator.go | 5 +- .../pkg/printers/tableprinter.go | 0 .../pkg/printers/tabwriter.go | 0 .../pkg/serving/config_changes.go | 2 +- .../pkg/serving/revision_template.go | 0 .../pkg/serving/v1/apply.go | 2 +- .../pkg/serving/v1/client.go | 10 +- .../pkg/serving/v1/gitops.go | 2 +- .../pkg/serving/v1alpha1/client.go | 6 +- .../pkg/sources/v1/apiserver_client.go | 4 +- .../pkg/sources/v1/apiserver_client_mock.go | 2 +- .../pkg/sources/v1/binding_client.go | 4 +- .../pkg/sources/v1/binding_client_mock.go | 2 +- .../pkg/sources/v1/client.go | 0 .../pkg/sources/v1/container_client.go | 6 +- .../pkg/sources/v1/container_client_mock.go | 2 +- .../pkg/sources/v1beta2/client.go | 0 .../pkg/sources/v1beta2/ping_client.go | 6 +- .../pkg/sources/v1beta2/ping_client_mock.go | 2 +- .../pkg/util/compare.go | 0 .../pkg/util/corev1_helper.go | 0 .../pkg/util/logging_http_transport.go | 0 .../pkg/util/mock/mock_helper.go | 0 .../pkg/util/orderedmap.go | 0 .../pkg/util/parsing_helper.go | 0 .../pkg/util/schema_handling.go | 0 .../pkg/util}/test/capture_output.go | 0 .../lib => client-pkg/pkg/util}/test/cli.go | 0 .../lib => client-pkg/pkg/util}/test/flags.go | 0 .../pkg/util}/test/integration.go | 0 .../pkg/util}/test/result_collector.go | 0 .../pkg/util}/test/service.go | 18 +- .../lib => client-pkg/pkg/util}/test/utils.go | 0 .../pkg/util/unstructured.go | 0 .../pkg/wait/poll_watcher.go | 0 .../pkg/wait/test_wait_helper.go | 0 .../pkg/wait/wait_for_ready.go | 0 vendor/knative.dev/client/LICENSE | 201 ------ vendor/knative.dev/client/lib/test/broker.go | 79 --- vendor/knative.dev/client/lib/test/channel.go | 64 -- .../knative.dev/client/lib/test/eventtype.go | 60 -- .../knative.dev/client/lib/test/revision.go | 155 ----- .../client/lib/test/subscription.go | 67 -- .../client/pkg/eventing/v1/client_mock.go | 183 ------ .../pkg/eventing/v1beta1/client_mock.go | 106 --- .../pkg/kn/commands/completion_helper.go | 458 ------------- .../client/pkg/kn/commands/flags/eventtype.go | 30 - .../pkg/kn/commands/flags/listfilters.go | 32 - .../client/pkg/kn/commands/flags/traffic.go | 71 -- .../client/pkg/kn/commands/wait_flags.go | 59 -- .../client/pkg/kn/config/testing.go | 35 - .../client/pkg/kn/flags/channel_types.go | 120 ---- .../client/pkg/kn/flags/podspec.go | 409 ------------ .../client/pkg/kn/flags/resources.go | 87 --- .../client/pkg/kn/plugin/manager.go | 514 --------------- .../knative.dev/client/pkg/kn/plugin/stat.go | 36 - .../client/pkg/kn/plugin/stat_windows.go | 24 - .../client/pkg/kn/plugin/verify.go | 256 -------- .../knative.dev/client/pkg/serving/service.go | 74 --- .../client/pkg/serving/v1/client_mock.go | 282 -------- .../pkg/serving/v1alpha1/client_mock.go | 120 ---- vendor/modules.txt | 54 +- 117 files changed, 163 insertions(+), 4287 deletions(-) rename third_party/VENDOR-LICENSE/knative.dev/{client => client-pkg}/pkg/LICENSE (100%) rename vendor/{github.com/maximilien/kn-source-pkg => knative.dev/client-pkg}/LICENSE (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/apis/client/register.go (94%) rename vendor/knative.dev/{client => client-pkg}/pkg/apis/client/v1alpha1/doc.go (85%) rename vendor/knative.dev/{client => client-pkg}/pkg/apis/client/v1alpha1/export_types.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/apis/client/v1alpha1/register.go (97%) rename vendor/knative.dev/{client => client-pkg}/pkg/apis/client/v1alpha1/zz_generated.deepcopy.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/config/defaults.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/dynamic/client.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/dynamic/client_mock.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/dynamic/fake/fake.go (97%) rename vendor/knative.dev/{client => client-pkg}/pkg/dynamic/lib.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/errors/errors.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/errors/factory.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/errors/knerror.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/errors/types.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/eventing/v1/client.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/eventing/v1beta1/client.go (98%) rename vendor/{github.com/maximilien => knative.dev/client-pkg/pkg}/kn-source-pkg/test/e2e/common.go (96%) rename vendor/{github.com/maximilien => knative.dev/client-pkg/pkg}/kn-source-pkg/test/e2e/kn_plugin.go (92%) rename vendor/knative.dev/{client => client-pkg}/pkg/kn/commands/describe.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/kn/commands/flags/listprint.go (96%) rename vendor/knative.dev/{client => client-pkg}/pkg/kn/commands/flags/sink.go (98%) rename vendor/knative.dev/{client => client-pkg}/pkg/kn/commands/human_readable_flags.go (98%) rename vendor/knative.dev/{client => client-pkg}/pkg/kn/commands/namespaced.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/kn/commands/testing_helper.go (93%) rename vendor/knative.dev/{client => client-pkg}/pkg/kn/commands/types.go (93%) rename vendor/knative.dev/{client => client-pkg}/pkg/kn/config/config.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/kn/config/types.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/kn/flags/bool.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/kn/flags/podspec_helper.go (99%) create mode 100644 vendor/knative.dev/client-pkg/pkg/kn/plugin/types.go rename vendor/knative.dev/{client => client-pkg}/pkg/messaging/v1/channels_client.go (98%) rename vendor/knative.dev/{client => client-pkg}/pkg/messaging/v1/channels_client_mock.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/messaging/v1/client.go (98%) rename vendor/knative.dev/{client => client-pkg}/pkg/messaging/v1/subscriptions_client.go (98%) rename vendor/knative.dev/{client => client-pkg}/pkg/messaging/v1/subscriptions_client_mock.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/printers/interface.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/printers/prefixwriter.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/printers/tablegenerator.go (98%) rename vendor/knative.dev/{client => client-pkg}/pkg/printers/tableprinter.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/printers/tabwriter.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/serving/config_changes.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/serving/revision_template.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/serving/v1/apply.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/serving/v1/client.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/serving/v1/gitops.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/serving/v1alpha1/client.go (98%) rename vendor/knative.dev/{client => client-pkg}/pkg/sources/v1/apiserver_client.go (98%) rename vendor/knative.dev/{client => client-pkg}/pkg/sources/v1/apiserver_client_mock.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/sources/v1/binding_client.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/sources/v1/binding_client_mock.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/sources/v1/client.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/sources/v1/container_client.go (98%) rename vendor/knative.dev/{client => client-pkg}/pkg/sources/v1/container_client_mock.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/sources/v1beta2/client.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/sources/v1beta2/ping_client.go (98%) rename vendor/knative.dev/{client => client-pkg}/pkg/sources/v1beta2/ping_client_mock.go (99%) rename vendor/knative.dev/{client => client-pkg}/pkg/util/compare.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/util/corev1_helper.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/util/logging_http_transport.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/util/mock/mock_helper.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/util/orderedmap.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/util/parsing_helper.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/util/schema_handling.go (100%) rename vendor/knative.dev/{client/lib => client-pkg/pkg/util}/test/capture_output.go (100%) rename vendor/knative.dev/{client/lib => client-pkg/pkg/util}/test/cli.go (100%) rename vendor/knative.dev/{client/lib => client-pkg/pkg/util}/test/flags.go (100%) rename vendor/knative.dev/{client/lib => client-pkg/pkg/util}/test/integration.go (100%) rename vendor/knative.dev/{client/lib => client-pkg/pkg/util}/test/result_collector.go (100%) rename vendor/knative.dev/{client/lib => client-pkg/pkg/util}/test/service.go (92%) rename vendor/knative.dev/{client/lib => client-pkg/pkg/util}/test/utils.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/util/unstructured.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/wait/poll_watcher.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/wait/test_wait_helper.go (100%) rename vendor/knative.dev/{client => client-pkg}/pkg/wait/wait_for_ready.go (100%) delete mode 100644 vendor/knative.dev/client/LICENSE delete mode 100644 vendor/knative.dev/client/lib/test/broker.go delete mode 100644 vendor/knative.dev/client/lib/test/channel.go delete mode 100644 vendor/knative.dev/client/lib/test/eventtype.go delete mode 100644 vendor/knative.dev/client/lib/test/revision.go delete mode 100644 vendor/knative.dev/client/lib/test/subscription.go delete mode 100644 vendor/knative.dev/client/pkg/eventing/v1/client_mock.go delete mode 100644 vendor/knative.dev/client/pkg/eventing/v1beta1/client_mock.go delete mode 100644 vendor/knative.dev/client/pkg/kn/commands/completion_helper.go delete mode 100644 vendor/knative.dev/client/pkg/kn/commands/flags/eventtype.go delete mode 100644 vendor/knative.dev/client/pkg/kn/commands/flags/listfilters.go delete mode 100644 vendor/knative.dev/client/pkg/kn/commands/flags/traffic.go delete mode 100644 vendor/knative.dev/client/pkg/kn/commands/wait_flags.go delete mode 100644 vendor/knative.dev/client/pkg/kn/config/testing.go delete mode 100644 vendor/knative.dev/client/pkg/kn/flags/channel_types.go delete mode 100644 vendor/knative.dev/client/pkg/kn/flags/podspec.go delete mode 100644 vendor/knative.dev/client/pkg/kn/flags/resources.go delete mode 100644 vendor/knative.dev/client/pkg/kn/plugin/manager.go delete mode 100644 vendor/knative.dev/client/pkg/kn/plugin/stat.go delete mode 100644 vendor/knative.dev/client/pkg/kn/plugin/stat_windows.go delete mode 100644 vendor/knative.dev/client/pkg/kn/plugin/verify.go delete mode 100644 vendor/knative.dev/client/pkg/serving/service.go delete mode 100644 vendor/knative.dev/client/pkg/serving/v1/client_mock.go delete mode 100644 vendor/knative.dev/client/pkg/serving/v1alpha1/client_mock.go diff --git a/go.mod b/go.mod index f34475490..d72856399 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,6 @@ go 1.18 require ( github.com/hashicorp/golang-lru v0.5.4 github.com/hashicorp/hcl v1.0.0 - github.com/maximilien/kn-source-pkg v0.6.3 github.com/mitchellh/go-homedir v1.1.0 github.com/spf13/cobra v1.6.0 github.com/spf13/viper v1.13.0 @@ -14,7 +13,7 @@ require ( k8s.io/api v0.25.4 k8s.io/apimachinery v0.25.4 k8s.io/client-go v0.25.4 - knative.dev/client v0.36.1-0.20230413134553-7e90298d926d + knative.dev/client-pkg v0.0.0-20230406095919-30a17e519723 knative.dev/hack v0.0.0-20230417170854-f591fea109b3 knative.dev/networking v0.0.0-20230412014752-750a9e4f13f1 knative.dev/serving v0.36.1-0.20230418170156-b38ef3a7ff2c diff --git a/go.sum b/go.sum index cd0a44216..859536342 100644 --- a/go.sum +++ b/go.sum @@ -7,7 +7,6 @@ cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxK cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.51.0/go.mod h1:hWtGJ6gnXH+KgDv+V0zFGDvpi07n3z8ZNj3T1RW0Gcw= cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= @@ -47,7 +46,6 @@ cloud.google.com/go/compute v1.10.0 h1:aoLIYaA1fX3ywihqpBk2APQKOo20nXsp1GEZQbx5J cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= @@ -62,119 +60,45 @@ cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3f cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d h1:LblfooH1lKOpp1hIhukktmSAxFkqMPFk9KR6iZ0MJNI= contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d/go.mod h1:IshRmMJBhDfFj5Y67nVhMYTTIze91RUeT73ipWKs/GY= -contrib.go.opencensus.io/exporter/prometheus v0.2.1-0.20200609204449-6bcf6f8577f0/go.mod h1:MjHoxkI7Ny27toPeFkRbXbzVjzIGkwOAptrAy8Mxtm8= contrib.go.opencensus.io/exporter/prometheus v0.4.2 h1:sqfsYl5GIY/L570iT+l93ehxaWJs2/OwXtiWwew3oAg= contrib.go.opencensus.io/exporter/prometheus v0.4.2/go.mod h1:dvEHbiKmgvbr5pjaF9fpw1KeYcjrnC1J8B+JKjsZyRQ= -contrib.go.opencensus.io/exporter/stackdriver v0.13.5/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc= -contrib.go.opencensus.io/exporter/zipkin v0.1.2/go.mod h1:mP5xM3rrgOjpn79MM8fZbj3gsxcuytSqtH0dxSWW1RE= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/Azure/azure-sdk-for-go v43.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v50.2.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= -github.com/Azure/go-autorest/autorest v0.9.6/go.mod h1:/FALq9T/kS7b5J5qsQ+RSTUdAmGFqi0vUdVNNx8q630= -github.com/Azure/go-autorest/autorest v0.11.17/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= -github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= -github.com/Azure/go-autorest/autorest/adal v0.8.2/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q= -github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/adal v0.9.10/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= -github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+vPmf1Ij9AEBM5FuBIXLmIy0g= -github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= -github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= -github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/to v0.2.0/go.mod h1:GunWKJp1AEqgMaGLV+iocmRAJWqST1wQYhyyjXJ3SJc= -github.com/Azure/go-autorest/autorest/to v0.3.0/go.mod h1:MgwOyqaIuKdG4TL/2ywSsIWKAfJfgHDo8ObuUk3t5sA= -github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE= -github.com/Azure/go-autorest/autorest/validation v0.1.0/go.mod h1:Ha3z/SqBeaalWQvokg3NZAlQTalVMtOIAs1aGK7G6u8= -github.com/Azure/go-autorest/autorest/validation v0.3.1/go.mod h1:yhLgjC0Wda5DYXl6JAsWyUe4KVNffhoDhG0zVzUMo3E= -github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= -github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= -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/GoogleCloudPlatform/k8s-cloud-provider v0.0.0-20200415212048-7901bc822317/go.mod h1:DF8FZRxMHMGv/vP2lQP6h+dYzzjpuRn24VeRiYn3qjQ= -github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= -github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= -github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/purell v1.1.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/sarama v1.30.0/go.mod h1:zujlQQx1kzHsh4jfV1USnptCQrHAEZ2Hk8fTKCulPVs= -github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/Shopify/toxiproxy/v2 v2.1.6-0.20210914104332-15ea381dcdae/go.mod h1:/cvHQkZ1fst0EmZnA5dFtiQdWCNCFYzb+uE2vqVgvx0= -github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= -github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= -github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM= -github.com/alecthomas/jsonschema v0.0.0-20180308105923-f2c93856175a/go.mod h1:qpebaTNSsyUn5rPSJMsfqEtDw71TTggXM6stUDI16HA= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= -github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/antlr/antlr4/runtime/Go/antlr v1.4.10 h1:yL7+Jz0jTC6yykIK/Wh74gnTJnrGr5AyrNMXuA0gves= github.com/antlr/antlr4/runtime/Go/antlr v1.4.10/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= -github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= -github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= -github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= -github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -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/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= -github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= -github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.28.2/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.31.12/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.37.1/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= -github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= -github.com/blang/semver v3.5.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/blendle/zapdriver v1.3.1 h1:C3dydBOWYRiOk+B8X9IVZ5IOe+7cl+tGOexN4QqHfpE= github.com/blendle/zapdriver v1.3.1/go.mod h1:mdXfREi6u5MArG4j9fewC+FGnXaBR+T4Ox4J2u4eHCc= -github.com/bmizerany/perks v0.0.0-20141205001514-d9a9656a3a4b/go.mod h1:ac9efd0D1fsDb3EJvhqgXRbFx7bs2wqZ10HQPeU8U/Q= github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= -github.com/c2h5oh/datasize v0.0.0-20171227191756-4eba002a5eae/go.mod h1:S/7n9copUssQ56c7aAgHqftWO4LTf4xY6CGWt8Bc+3M= -github.com/c2h5oh/datasize v0.0.0-20200112174442-28bbd4740fee/go.mod h1:S/7n9copUssQ56c7aAgHqftWO4LTf4xY6CGWt8Bc+3M= -github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= -github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.3.0 h1:t/LhUZLVitR1Ow2YOnduCsavhwFUklBMoGVYUCqmCqk= github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.0/go.mod h1:dgIUBU3pDso/gPgZ1osOZ0iQf77oPR28Tjxl5dIMyVM= 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/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= -github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudevents/sdk-go/sql/v2 v2.13.0 h1:gMJvQ3XFkygY9JmrusgK80d9yRAb8+J3X8IA1OC+oc0= github.com/cloudevents/sdk-go/sql/v2 v2.13.0/go.mod h1:XZRQBCgRreddIpQrdjBJQUrRg3BCs3aikplJQkHrK44= -github.com/cloudevents/sdk-go/v2 v2.2.0/go.mod h1:3CTrpB4+u7Iaj6fd7E2Xvm5IxMdRoaAhqaRVnOr2rCU= github.com/cloudevents/sdk-go/v2 v2.13.0 h1:2zxDS8RyY1/wVPULGGbdgniGXSzLaRJVl136fLXGsYw= github.com/cloudevents/sdk-go/v2 v2.13.0/go.mod h1:xDmKfzNjM8gBvjaF8ijFjM1VYOVUEeUfapHMUX1T5To= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= @@ -186,60 +110,19 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH 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-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= -github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= -github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/stargz-snapshotter/estargz v0.0.0-20201223015020-a9a0c2d64694/go.mod h1:E9uVkkBKf0EaC39j2JVW9EzdNhYvpz6eQIjILHebruk= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= -github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -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.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/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/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgryski/go-gk v0.0.0-20140819190930-201884a44051/go.mod h1:qm+vckxRlDt0aOla0RYJJVeqHZlWfOm2UIxHaqPB46E= -github.com/dgryski/go-gk v0.0.0-20200319235926-a69029f61654/go.mod h1:qm+vckxRlDt0aOla0RYJJVeqHZlWfOm2UIxHaqPB46E= -github.com/dgryski/go-lttb v0.0.0-20180810165845-318fcdf10a77/go.mod h1:Va5MyIzkU0rAM92tn3hb3Anb7oz7KcnixF49+2wOMe4= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= -github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/cli v20.10.2+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v20.10.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= -github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= -github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-resiliency v1.2.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= -github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= 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/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/emicklei/go-restful v2.15.0+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful/v3 v3.9.0 h1:XwGDlfxEnQZzuopoqxwSEllNcCOM9DhhFyhFIIGKwxE= github.com/emicklei/go-restful/v3 v3.9.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= -github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= @@ -251,28 +134,19 @@ github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go. 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.5.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= -github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/flowstack/go-jsonschema v0.1.1/go.mod h1:yL7fNggx1o8rm9RlgXv7hTBWxdBM0rVwpMwimd3F3N0= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= -github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= -github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= -github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= -github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA= github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= @@ -280,7 +154,6 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2 github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU= @@ -290,83 +163,24 @@ github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= -github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= -github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= -github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-openapi/analysis v0.0.0-20180825180245-b006789cd277/go.mod h1:k70tL6pCuVxPJOHXQ+wIac1FUrvNkHolPie/cLEU6hI= -github.com/go-openapi/analysis v0.17.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= -github.com/go-openapi/analysis v0.18.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= -github.com/go-openapi/analysis v0.19.2/go.mod h1:3P1osvZa9jKjb8ed2TPng3f0i/UY9snX6gxi44djMjk= -github.com/go-openapi/analysis v0.19.5/go.mod h1:hkEAkxagaIvIP7VTn8ygJNkd4kAYON2rCu0v0ObL0AU= -github.com/go-openapi/errors v0.17.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= -github.com/go-openapi/errors v0.18.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= -github.com/go-openapi/errors v0.19.2/go.mod h1:qX0BLWsyaKfvhluLejVpVNwNRdXZhEbTA4kxxpKBC94= -github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= -github.com/go-openapi/jsonpointer v0.17.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= -github.com/go-openapi/jsonpointer v0.18.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= -github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= -github.com/go-openapi/jsonreference v0.17.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= -github.com/go-openapi/jsonreference v0.18.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= -github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= -github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= -github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= github.com/go-openapi/jsonreference v0.20.0 h1:MYlu0sBgChmCfJxxUKZ8g1cPWFOB37YSZqewK7OKeyA= github.com/go-openapi/jsonreference v0.20.0/go.mod h1:Ag74Ico3lPc+zR+qjn4XBUmXymS4zJbYVCZmcgkasdo= -github.com/go-openapi/loads v0.17.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= -github.com/go-openapi/loads v0.18.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= -github.com/go-openapi/loads v0.19.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= -github.com/go-openapi/loads v0.19.2/go.mod h1:QAskZPMX5V0C2gvfkGZzJlINuP7Hx/4+ix5jWFxsNPs= -github.com/go-openapi/loads v0.19.4/go.mod h1:zZVHonKd8DXyxyw4yfnVjPzBjIQcLt0CCsn0N0ZrQsk= -github.com/go-openapi/runtime v0.0.0-20180920151709-4f900dc2ade9/go.mod h1:6v9a6LTXWQCdL8k1AO3cvqx5OtZY/Y9wKTgaoP6YRfA= -github.com/go-openapi/runtime v0.19.0/go.mod h1:OwNfisksmmaZse4+gpV3Ne9AyMOlP1lt4sK4FXt0O64= -github.com/go-openapi/runtime v0.19.4/go.mod h1:X277bwSUBxVlCYR3r7xgZZGKVvBd/29gLDlFGtJ8NL4= -github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= -github.com/go-openapi/spec v0.17.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= -github.com/go-openapi/spec v0.18.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= -github.com/go-openapi/spec v0.19.2/go.mod h1:sCxk3jxKgioEJikev4fgkNmwS+3kuYdJtcsZsD5zxMY= -github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= -github.com/go-openapi/spec v0.19.6/go.mod h1:Hm2Jr4jv8G1ciIAo+frC/Ft+rR2kQDh8JHKHb3gWUSk= -github.com/go-openapi/spec v0.20.2/go.mod h1:RW6Xcbs6LOyWLU/mXGdzn2Qc+3aj+ASfI7rvSZh1Vls= -github.com/go-openapi/strfmt v0.17.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU= -github.com/go-openapi/strfmt v0.18.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU= -github.com/go-openapi/strfmt v0.19.0/go.mod h1:+uW+93UVvGGq2qGaZxdDeJqSAqBqBdl+ZPMF/cC8nDY= -github.com/go-openapi/strfmt v0.19.3/go.mod h1:0yX7dbo8mKIvc3XSKp7MNfxw4JytCfCD6+bY1AVL9LU= -github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= -github.com/go-openapi/swag v0.17.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= -github.com/go-openapi/swag v0.18.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= -github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/swag v0.19.7/go.mod h1:ao+8BpOPyKdpQz3AOJfbeEVpLmWAvlT1IfTe5McPyhY= -github.com/go-openapi/swag v0.19.13/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= -github.com/go-openapi/validate v0.18.0/go.mod h1:Uh4HdOzKt19xGIGm1qHf/ofbX1YQ4Y+MYsct2VUrAJ4= -github.com/go-openapi/validate v0.19.2/go.mod h1:1tRCw7m3jtI8eNWEEliiAqUIcBztB2KDnRCRMUi7GTA= -github.com/go-openapi/validate v0.19.5/go.mod h1:8DJv2CVJQ6kGNpFW6eV9N3JviE1C85nY1c2z52x1Gk4= -github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= -github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= -github.com/gobuffalo/flect v0.2.2/go.mod h1:vmkQwuZYhN5Pc4ljYQZzP+1sq+NEkK+lh20jmEmX3jc= -github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= -github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= @@ -398,18 +212,8 @@ github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaS github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/gonum/blas v0.0.0-20181208220705-f22b278b28ac/go.mod h1:P32wAyui1PQ58Oce/KYkOqQv8cVw1zAapXOl+dRFGbc= -github.com/gonum/diff v0.0.0-20181124234638-500114f11e71/go.mod h1:22dM4PLscQl+Nzf64qNBurVJvfyvZELT0iRW2l/NN70= -github.com/gonum/floats v0.0.0-20181209220543-c233463c7e82/go.mod h1:PxC8OnwL11+aosOB5+iEPoV3picfs8tUpkVd0pDo+Kg= -github.com/gonum/integrate v0.0.0-20181209220457-a422b5c0fdf2/go.mod h1:pDgmNM6seYpwvPos3q+zxlXMsbve6mOIPucUnUOrI7Y= -github.com/gonum/internal v0.0.0-20181124074243-f884aa714029/go.mod h1:Pu4dmpkhSyOzRwuXkOgAvijx4o+4YMUJJo9OvPYMkks= -github.com/gonum/lapack v0.0.0-20181123203213-e4cdc5a0bff9/go.mod h1:XA3DeT6rxh2EAE789SSiSJNqxPaC0aE9J8NTOI0Jo/A= -github.com/gonum/mathext v0.0.0-20181121095525-8a4bf007ea55/go.mod h1:fmo8aiSEWkJeiGXUJf+sPvuDgEFgqIoZSs843ePKrGg= -github.com/gonum/matrix v0.0.0-20181209220409-c518dec07be9/go.mod h1:0EXg4mc1CNP0HCqCz+K4ts155PXIlUywf0wqN+GfPZw= -github.com/gonum/stat v0.0.0-20181125101827-41a0da705a5b/go.mod h1:Z4GIJBJO3Wa4gD4vbwQxXXZ+WHmW6E9ixmNrwvs0iZs= 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.1.2 h1:xf4v41cLI2Z6FxbKm+8Bu+m8ifhj15JuZ9sa0jZCMUU= @@ -432,18 +236,11 @@ github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8 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= -github.com/google/go-containerregistry v0.4.1-0.20210128200529-19c2b639fab1/go.mod h1:GU9FUA/X9rd2cV3ZoUNaWihp27tki6/38EsVzL2Dyzc= github.com/google/go-containerregistry v0.13.0 h1:y1C7Z3e149OJbOPDBxLYR8ITPz8dTKqQwjErKVHJC8k= github.com/google/go-containerregistry v0.13.0/go.mod h1:J9FQ+eSS4a1aC2GNZxvNpbWhgp0487v+cgiilB4FqDo= -github.com/google/go-containerregistry/pkg/authn/k8schain v0.0.0-20210129212729-5c4818de4025/go.mod h1:n9wRxRfKkHy6ZFyj0jJQHw11P+mGLnED4sqegwrXxDk= -github.com/google/go-github/v27 v27.0.6/go.mod h1:/0Gr8pJ55COkmv+S/yPKCczSkUPIM/LnFyubufRNIS0= -github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/licenseclassifier v0.0.0-20200708223521-3d09a0ea2f39/go.mod h1:qsqn2hxC+vURpyBRygGUuinTO42MFRLcsmQ/P8v94+M= -github.com/google/mako v0.0.0-20190821191249-122f8dcef9e3/go.mod h1:YzLcVlL+NqWnmUEPuhS1LxDDwGO9WNbVlEXaF4IH35g= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= @@ -466,10 +263,7 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLe 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.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= @@ -481,81 +275,31 @@ github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0 github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= -github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= -github.com/googleapis/gnostic v0.5.3/go.mod h1:TRWw1s4gxBGjSe301Dai3c7wXJAZy57+/6tawkOvqHQ= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= -github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= -github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/gregjones/httpcache v0.0.0-20190212212710-3befbb6ad0cc/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA= github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79/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.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.14.6/go.mod h1:zdiPV4Yse/1gnckTHtghG4GkDEdKCRJduHpTxT3/jcw= -github.com/grpc-ecosystem/grpc-gateway v1.14.8/go.mod h1:NZE8t6vs6TnwLL/ITkaK8W3ecMLGAbh2jXTclvpiwYo= github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= -github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= -github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= -github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= -github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= -github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-retryablehttp v0.6.7/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= -github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= -github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= -github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= -github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= -github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= -github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= -github.com/influxdata/tdigest v0.0.0-20180711151920-a7d76c6f093a/go.mod h1:9GkyshztGufsdPQWjH+ifgnIr3xNUL5syI70g2dzU1o= -github.com/influxdata/tdigest v0.0.0-20181121200506-bf2b5ad3c0a9/go.mod h1:Js0mqiSBE6Ffsg94weZZ2c+v/ciT8QRHFOap7EKDrR0= -github.com/influxdata/tdigest v0.0.0-20191024211133-5d87a7585faa/go.mod h1:Z0kXnxzbTC2qrx4NaIzYkE1k66+6oEDQTvL95hQFh5Y= -github.com/influxdata/tdigest v0.0.1/go.mod h1:Z0kXnxzbTC2qrx4NaIzYkE1k66+6oEDQTvL95hQFh5Y= github.com/jcmturner/aescts/v2 v2.0.0/go.mod h1:AiaICIRyfYg35RUkr8yESTqvSy7csK90qZ5xfvvsoNs= github.com/jcmturner/dnsutils/v2 v2.0.0/go.mod h1:b0TnjGOvI/n42bZa+hmXL+kFJZsFT7G4t3HTlQ184QM= github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= @@ -563,32 +307,20 @@ github.com/jcmturner/goidentity/v6 v6.0.1/go.mod h1:X1YW3bgtvwAXju7V3LCIMpY0Gbxy github.com/jcmturner/gokrb5/v8 v8.4.2/go.mod h1:sb+Xq/fTY5yktf/VxLsE3wlfPqQjp0aWNYyvBVK62bc= github.com/jcmturner/rpc/v2 v2.0.3/go.mod h1:VUJYCIDm3PVOEHw8sgt091/20OJjskO/YJki3ELg/Hc= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= -github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= -github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= -github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52CupLJyoVwB10FQ/IQlF1pdL8= -github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kelseyhightower/envconfig v1.4.0 h1:Im6hONhd3pLkfDFsbRgu68RDNkGF1r3dvMUtDTo2cv8= github.com/kelseyhightower/envconfig v1.4.0/go.mod h1:cccZRl6mQpaq41TPp5QxidR+Sa3axMbJDNb//FQX6Gg= -github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= -github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= @@ -601,60 +333,26 @@ github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= 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/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= -github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= -github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac/go.mod h1:Frd2bnT3w5FB5q49ENTfVlztJES+1k/7lyWX2+9gq/M= -github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= -github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= 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.1-0.20191009090205-6c0755d89d1e/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= -github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/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-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= 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= -github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= -github.com/maxbrunsfeld/counterfeiter/v6 v6.3.0/go.mod h1:fcEyUyXZXoV4Abw8DX0t7wyL8mCDxXyU4iAFZfT3IHw= -github.com/maximilien/kn-source-pkg v0.6.3 h1:5S9jgof8KSvde/hrM0VaOMZ6LmBPTIMO05fdDpbVbvI= -github.com/maximilien/kn-source-pkg v0.6.3/go.mod h1:3Nym+ahhV18lkHutauJdw1r3PmlDfu/DoTUuF8ySMt4= -github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= -github.com/miekg/dns v1.1.17/go.mod h1:WgzbA6oji13JREwiNsRDNfl7jYdPnmz+VEuLrA+/48M= -github.com/miekg/dns v1.1.29/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM= -github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= 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/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.3.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/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-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo= 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= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -664,218 +362,106 @@ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G 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/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= -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= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= -github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= -github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= -github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= -github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= -github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= -github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= -github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= -github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= -github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= -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.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.10.2/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= github.com/onsi/ginkgo/v2 v2.1.6 h1:Fx2POJZfKRQcM1pH49qSZiYeu319wji004qX+GDovrU= -github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.10.2/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= github.com/onsi/gomega v1.16.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= github.com/onsi/gomega v1.20.1 h1:PA/3qinGoukvymdIDV8pii6tiZgC8kbmJO6Z5+b002Q= -github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= -github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= -github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA= -github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= -github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/openzipkin/zipkin-go v0.2.5/go.mod h1:KpXfKdgRDnnhsxw4pNIH9Md5lyFqKUa4YDFlwRYAMyE= github.com/openzipkin/zipkin-go v0.4.0 h1:CtfRrOVZtbDj8rt1WXjklw0kqqJQwICrCKmlfUuBUUw= github.com/openzipkin/zipkin-go v0.4.0/go.mod h1:4c3sLeE8xjNqehmF5RpAFLPLJxXscc0R4l6Zg0P1tTQ= -github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= -github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= -github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.8.0/go.mod h1:D6yutnOGMveHEPV7VQOuvI/gXY61bv+9bAOTRnLElKs= github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/pelletier/go-toml/v2 v2.0.5 h1:ipoSadvV8oGUjnUbMub59IDPPwfxF694nG/jwbMiyQg= github.com/pelletier/go-toml/v2 v2.0.5/go.mod h1:OMHamSCAODeSsVrwwvcJOaoN0LIUIaFVNZzmWyNfXas= -github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= 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/phayes/freeport v0.0.0-20180830031419-95f893ade6f2/go.mod h1:iIss55rKnNBTvrwdmkUpLnDpZoAHvWaiq5+iMmen4AE= -github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= -github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.2.1/go.mod h1:XMU6Z2MjaRKVu/dC1qupJI9SiNkDYzz3xecMgSW/F+U= -github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.9.0/go.mod h1:FqZLKOZnGdFAhOK4nqGHa7D66IdsO+O441Eve7ptJDU= github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_golang v1.12.2/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_golang v1.13.0 h1:b71QUfeo5M8gq2+evJdTPfZhYMAU0uKPkyPJ7TPsloU= github.com/prometheus/client_golang v1.13.0/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.35.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= github.com/prometheus/common v0.37.0 h1:ccBbHCgIiT9uSoFY0vX8H3zsNR5eLt17/RQLUvn8pXE= github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= -github.com/prometheus/procfs v0.0.6/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= -github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.8.0 h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5mo= github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= -github.com/prometheus/statsd_exporter v0.15.0/go.mod h1:Dv8HnkoLQkeEjkIE4/2ndAA7WL1zHKK7WMqFQqu72rw= github.com/prometheus/statsd_exporter v0.22.7/go.mod h1:N/TevpjkIh9ccs6nuzY3jQn9dFqnUakOjnEuMPJJJnI= github.com/prometheus/statsd_exporter v0.22.8 h1:Qo2D9ZzaQG+id9i5NYNGmbf1aa/KxKbB9aKfMS+Yib0= github.com/prometheus/statsd_exporter v0.22.8/go.mod h1:/DzwbTEaFTE0Ojz5PqcSk6+PFHOPWGxdXVr6yC8eFOM= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/rabbitmq/amqp091-go v1.1.0/go.mod h1:ogQDLSOACsLPsIq0NpbtiifNZi2YOz0VTJ0kHRghqbM= -github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= -github.com/rickb777/date v1.13.0/go.mod h1:GZf3LoGnxPWjX+/1TXOuzHefZFDovTyNLHDMd3qH70k= github.com/rickb777/date v1.20.0 h1:oRGcq4b+ba12N/HnsVZuWSK/QJb/o/hnjOJEyRMGUT0= github.com/rickb777/date v1.20.0/go.mod h1:8AR0TBrjDGUjwKToBI8L+RafzNg7gqlT0ox0cERCwEo= -github.com/rickb777/plural v1.2.1/go.mod h1:j058+3M5QQFgcZZ2oKIOekcygoZUL8gKW5yRO14BuAw= github.com/rickb777/plural v1.4.1 h1:5MMLcbIaapLFmvDGRT5iPk8877hpTPt8Y9cdSKRw9sU= github.com/rickb777/plural v1.4.1/go.mod h1:kdmXUpmKBJTS0FtG/TFumd//VBWsNTD7zOw7x4umxNw= github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= -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/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k= -github.com/rs/dnscache v0.0.0-20210201191234-295bba877686/go.mod h1:qe5TWALJ8/a1Lqznoc5BDHpYX/8HU60Hm2AwRmqzxqA= -github.com/rubiojr/go-vhd v0.0.0-20200706105327-02e210299021/go.mod h1:DM5xW0nvfNNm2uytzsvhI3OnX8uzaRAg8UX/CnDqbto= 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/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= -github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= -github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= -github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= 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.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/assertions v1.0.0/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM= -github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= github.com/spf13/afero v1.9.2 h1:j49Hj62F0n+DaZ1dDCvhABaPNSGNkt32oRFxI33IEMw= github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= -github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= -github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= -github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= -github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= github.com/spf13/cobra v1.6.0 h1:42a0n6jwCot1pUmomAp4T7DeMD+20LFv4Q54pxLf2LI= github.com/spf13/cobra v1.6.0/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= -github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= 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.1/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= -github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= -github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/spf13/viper v1.7.1/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= github.com/spf13/viper v1.13.0 h1:BWSJ/M+f+3nmdz9bxB+bWX28kkALN2ok11D0rSo8EJU= github.com/spf13/viper v1.13.0/go.mod h1:Icm2xNL3/8uyh/wFuB1jI7TiTNKp8632Nwegu+zgdYw= -github.com/sqs/goreturns v0.0.0-20181028201513-538ac6014518/go.mod h1:CKI4AZ4XmGV240rTHfO0hfE83S6/a3/Q1siZJ/vXf7A= github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= -github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= -github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= -github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= -github.com/streadway/quantile v0.0.0-20150917103942-b0c588724d25/go.mod h1:lbP8tGiBjZ5YWIc2fzuRpTaz0b/53vT6PEs3QuAWzuU= 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/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0 h1:M2gUjqZET1qApGOWNSnZ49BAIMX4F/1plDv3+l31EJ4= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= @@ -888,112 +474,57 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stvp/go-udp-testing v0.0.0-20201019212854-469649b16807/go.mod h1:7jxmlfBCDBXRzr0eAQJ48XC1hBu1np4CS5+cHEYfwpc= -github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs= github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= -github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= -github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tsenart/go-tsz v0.0.0-20180814232043-cdeb9e1e981e/go.mod h1:SWZznP1z5Ki7hDT2ioqiFKEse8K9tU2OUvaRI0NeGQo= -github.com/tsenart/go-tsz v0.0.0-20180814235614-0bd30b3df1c3/go.mod h1:SWZznP1z5Ki7hDT2ioqiFKEse8K9tU2OUvaRI0NeGQo= -github.com/tsenart/vegeta v12.7.1-0.20190725001342-b5f4fca92137+incompatible/go.mod h1:Smz/ZWfhKRcyDDChZkG3CyTHdj87lHzio/HOCkbndXM= -github.com/tsenart/vegeta/v12 v12.8.4/go.mod h1:ZiJtwLn/9M4fTPdMY7bdbIeyNeFVE8/AHbWFqCsUuho= -github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= -github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= -github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/vdemeester/k8s-pkg-credentialprovider v1.19.7/go.mod h1:K2nMO14cgZitdwBqdQps9tInJgcaXcU/7q5F59lpbNI= -github.com/vektah/gqlparser v1.1.2/go.mod h1:1ycwN7Ij5njmMkPPAOaRFY4rET2Enx7IkVv3vaXspKw= -github.com/vmware/govmomi v0.20.3/go.mod h1:URlwyTFZX72RmxtxuaFL2Uj3fD1JTvZdx59bHWk6aFU= -github.com/wavesoftware/go-ensure v1.0.0/go.mod h1:K2UAFSwMTvpiRGay/M3aEYYuurcR8S4A6HkQlJPV8k4= github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xlab/treeprint v1.1.0 h1:G/1DjNkPpfZCFt9CSh6b5/nY4VimlbHF3Rh4obvtzDk= github.com/xlab/treeprint v1.1.0/go.mod h1:gj5Gd3gPdKtR1ikdDK6fnFLdmIS0X30kTTuNd/WEJu0= -github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= 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= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= -go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= -go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= -go.mongodb.org/mongo-driver v1.0.3/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= -go.mongodb.org/mongo-driver v1.1.1/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= -go.mongodb.org/mongo-driver v1.1.2/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= -go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= -go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4-0.20200608061201-1901b56b9515/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.22.6/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= -go.opentelemetry.io/otel v0.16.0/go.mod h1:e4GKElweB8W2gWUqbghw0B8t5MCTccc9212eNHnOHwA= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.starlark.net v0.0.0-20220817180228-f738f5508c12 h1:xOBJXWGEDwU5xSDxH6macxO11Us0AH2fTa9rmsbbF7g= go.starlark.net v0.0.0-20220817180228-f738f5508c12/go.mod h1:VZcBMdr3cT3PnBoWunTabuSEXwVAH+ZJ5zxfs3AdASk= -go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= 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.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= -go.uber.org/automaxprocs v1.4.0/go.mod h1:/mTEdr7LvHhs0v7mjdxDreTz1OG5zdZGqgOnhWiR/+Q= -go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.2.0 h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= -go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= -go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ= go.uber.org/zap v1.23.0 h1:OjGQ5KQDEUawVHxNwQgPpiypGHOxo2mNZsOqTak4fFY= go.uber.org/zap v1.23.0/go.mod h1:D+nX8jyLsMHMYrln8A0rJjFt/T/9/bGgIhAqxv5URuY= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190320223903-b7391e95e576/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190617133340-57b3e21c3d56/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190829043050-9756ffdc2472/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210920023735-84f357641f63/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190312203227-4b39c73a6495/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= @@ -1031,28 +562,18 @@ golang.org/x/mod v0.6.0 h1:b9gGHsz9/HhJ3HF5DHQytPpuwocVTChQJK3AvoLRD5I= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181005035420-146acd28ed58/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190320064053-1272bf9dcd53/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191002035440-2ec189313ef0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -1069,9 +590,7 @@ golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201026091529-146b70c837a4/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= @@ -1103,7 +622,6 @@ golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4Iltr golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210126194326-f9ce19ea3013/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= @@ -1133,42 +651,28 @@ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190321052220-f7bb7a8bee54/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191010194322-b09406accb47/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191113165036-4c7a9d0fe056/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1185,10 +689,8 @@ golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1229,9 +731,7 @@ golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0 h1:n2a8QNdAb0sZNpU9R1ALUXBbY+w51fCQDN+7EdxNBsY= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= @@ -1246,57 +746,33 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.1.0 h1:xYY+Bajn2a7VBmTM5GikTmnK8ZuX8YgnQCqZpbBNtmA= golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190125232054-d66bd3c5d5a6/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190617190820-da514acc4774/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191010075000-0337d82405ff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216052735-49a3e744a425/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -1309,19 +785,14 @@ golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjs golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512001501-aaeff5de670a/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200616133436-c1934b75d054/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20201023174141-c8cfbd0f21e6/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= @@ -1343,25 +814,15 @@ golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -gomodules.xyz/jsonpatch/v2 v2.1.0/go.mod h1:IhYNNY4jnS53ZnfE4PAmpKtDpTCj1JFXc+3mwe7XcUU= gomodules.xyz/jsonpatch/v2 v2.2.0 h1:4pT439QV83L+G9FkcCriY6EkpcK6r6bK+A5FBUMI7qY= gomodules.xyz/jsonpatch/v2 v2.2.0/go.mod h1:WXp+iVDkoLQqPudfQ9GBlwB2eZ5DKOnjQZCYdOS8GPY= -gonum.org/v1/gonum v0.0.0-20181121035319-3f7ecaa7e8ca/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= -gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485/go.mod h1:2ltnJ7xHfj0zHS40VVPYEAAMTa3ZGguvHGBSJeRWqE0= -gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod h1:kS+toOQn6AQKjmKJ7gzohV1XkqsFehRA2FbsbkopSuQ= -google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.10.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.1-0.20200106000736-b8fc810ca6b5/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.1/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= @@ -1398,11 +859,9 @@ google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3p google.golang.org/api v0.96.0 h1:F60cuQPJq7K7FzsxMYHAUJSiXh2oKctHxBMbDygxhfM= google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= @@ -1412,7 +871,6 @@ google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRn google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= @@ -1440,7 +898,6 @@ google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= @@ -1494,15 +951,10 @@ google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljW google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= google.golang.org/genproto v0.0.0-20220919141832-68c03719ef51 h1:ucpgjuzWqWrj0NEwjUpsGTf2IGxyLtmuSk0oGgifjec= google.golang.org/genproto v0.0.0-20220919141832-68c03719ef51/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= -google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= @@ -1554,29 +1006,15 @@ gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLks gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/evanphx/json-patch.v4 v4.9.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/gcfg.v1 v1.2.0/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= -gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.56.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= -gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/warnings.v0 v0.1.1/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= -gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= -gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -1592,12 +1030,8 @@ gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 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 v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= -gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= -gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= gotest.tools/v3 v3.3.0 h1:MfDY1b1/0xN1CyMlQDac0ziEy9zJQd9CXBRRDHw2jJo= gotest.tools/v3 v3.3.0/go.mod h1:Mcr9QNxkg0uMvy/YElmo4SpXgJKWgQvYrT7Kw5RzJ1A= -honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 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= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -1605,93 +1039,44 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.5/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -k8s.io/api v0.19.7/go.mod h1:KTryDUT3l6Mtv7K2J2486PNL9DBns3wOYTkGR+iz63Y= k8s.io/api v0.25.4 h1:3YO8J4RtmG7elEgaWMb4HgmpS2CfY1QlaOz9nwB+ZSs= k8s.io/api v0.25.4/go.mod h1:IG2+RzyPQLllQxnhzD8KQNEu4c4YvyDTpSMztf4A0OQ= -k8s.io/apiextensions-apiserver v0.19.7/go.mod h1:XJNNtjISNNePDEUClHt/igzMpQcmjVVh88QH+PKztPU= k8s.io/apiextensions-apiserver v0.25.4 h1:7hu9pF+xikxQuQZ7/30z/qxIPZc2J1lFElPtr7f+B6U= k8s.io/apiextensions-apiserver v0.25.4/go.mod h1:bkSGki5YBoZWdn5pWtNIdGvDrrsRWlmnvl9a+tAw5vQ= -k8s.io/apimachinery v0.19.7/go.mod h1:6sRbGRAVY5DOCuZwB5XkqguBqpqLU6q/kOaOdk29z6Q= k8s.io/apimachinery v0.25.4 h1:CtXsuaitMESSu339tfhVXhQrPET+EiWnIY1rcurKnAc= k8s.io/apimachinery v0.25.4/go.mod h1:jaF9C/iPNM1FuLl7Zuy5b9v+n35HGSh6AQ4HYRkCqwo= -k8s.io/apiserver v0.19.7/go.mod h1:DmWVQggNePspa+vSsVytVbS3iBSDTXdJVt0akfHacKk= -k8s.io/cli-runtime v0.19.7/go.mod h1:UTtbWaGV/USZSrnvuW/lRZGM5OsemAT/q/Du/Ac+wKU= k8s.io/cli-runtime v0.25.2 h1:XOx+SKRjBpYMLY/J292BHTkmyDffl/qOx3YSuFZkTuc= k8s.io/cli-runtime v0.25.2/go.mod h1:OQx3+/0st6x5YpkkJQlEWLC73V0wHsOFMC1/roxV8Oc= -k8s.io/client-go v0.19.7/go.mod h1:iytGI7S3kmv6bWnn+bSQUE4VlrEi4YFssvVB7J7Hvqg= k8s.io/client-go v0.25.4 h1:3RNRDffAkNU56M/a7gUfXaEzdhZlYhoW8dgViGy5fn8= k8s.io/client-go v0.25.4/go.mod h1:8trHCAC83XKY0wsBIpbirZU4NTUpbuhc2JnI7OruGZw= -k8s.io/cloud-provider v0.19.7/go.mod h1:aO/VpUwkG+JQN7ZXc5WBLZ5NBXuq/Y5B6vri6U94PZ8= -k8s.io/code-generator v0.19.7/go.mod h1:lwEq3YnLYb/7uVXLorOJfxg+cUu2oihFhHZ0n9NIla0= -k8s.io/component-base v0.19.7/go.mod h1:YX8spPBgwl3I6UGcSdQiEMAqRMSUsGQOW7SEr4+Qa3U= -k8s.io/csi-translation-lib v0.19.7/go.mod h1:WghizPQuzuygr2WdpgN2EjcNpDD2V4EAbxFXsgHgSBk= -k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20200428234225-8167cfdcfc14/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20201113003025-83324d819ded/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= -k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= -k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.5.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= k8s.io/klog/v2 v2.80.2-0.20221028030830-9ae4992afb54 h1:hWRbsoRWt44OEBnYUd4ceLy4ofBoh+p9vauWp/I5Gdg= k8s.io/klog/v2 v2.80.2-0.20221028030830-9ae4992afb54/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o= -k8s.io/kube-openapi v0.0.0-20210113233702-8566a335510f/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 h1:+70TFaan3hfJzs+7VK2o+OGxg8HsuBr/5f6tVAjDu6E= k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280/go.mod h1:+Axhij7bCpeqhklhUTe3xmOn6bWxolyZEeyaFpjGtl4= -k8s.io/legacy-cloud-providers v0.19.7/go.mod h1:dsZk4gH9QIwAtHQ8CK0Ps257xlfgoXE3tMkMNhW2xDU= -k8s.io/utils v0.0.0-20200729134348-d5654de09c73/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20210111153108-fddb29f9d009/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 h1:GfD9OzL11kvZN5iArC6oTS7RTj7oJOIfnislxYlqTj8= k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/caching v0.0.0-20210215030244-1212288570f0/go.mod h1:rAPalJe9Lx3jHffJpackk5WjZYl3j2QvXUgw0GPllxQ= -knative.dev/client v0.21.0/go.mod h1:1En9uxMhk62EReWR1d66/d3tnpkot/D3vBRfmuidFNc= -knative.dev/client v0.36.1-0.20230413134553-7e90298d926d h1:WdYgN8dzI+avuOzh8mPjjIDgnCZCdlojXhxDsGrD0RE= -knative.dev/client v0.36.1-0.20230413134553-7e90298d926d/go.mod h1:e4/yoM4xKTVvUXsOPvNtuxtpfYB2a5fZbfqIOnlil7M= -knative.dev/eventing v0.21.0/go.mod h1:JjbVEOTJJHqo9CTxbTfrMn018hG8fOr3UfBoCJ7KWaA= +knative.dev/client-pkg v0.0.0-20230406095919-30a17e519723 h1:n3iELlJqzAflaQDWqFodtnf2AVRcWTBkw2xFuOiaItM= +knative.dev/client-pkg v0.0.0-20230406095919-30a17e519723/go.mod h1:ay34oweJk5AiUQ2XuZ9VxoQYwFmSjUDEYxklv6USy1M= knative.dev/eventing v0.36.1-0.20230411013349-3224e50c7263 h1:9Vf3oKzXvLSKra5oVCwASkKrIhMG7LgUVbrJPm5wlxM= knative.dev/eventing v0.36.1-0.20230411013349-3224e50c7263/go.mod h1:04GSGLHjBkgDEGRIg2wM7n5BB27BRIoMqb9emFp/YNU= -knative.dev/hack v0.0.0-20210203173706-8368e1f6eacf/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= knative.dev/hack v0.0.0-20230417170854-f591fea109b3 h1:+W4WBOq83tfGXKhtv8OB/uJeYqze3zh69GKiz1ucuqk= knative.dev/hack v0.0.0-20230417170854-f591fea109b3/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= -knative.dev/networking v0.0.0-20210215030235-088986a1c2a3/go.mod h1:pmAMQjMqQUxpK0UyjE71KljMs6rwDMVIAlvrZsU3I6Y= -knative.dev/networking v0.0.0-20210216014426-94bfc013982b/go.mod h1:Crdn87hxdFd3Jj6PIyrjzGnr8OGHX35k5xo9jlOrjjA= knative.dev/networking v0.0.0-20230412014752-750a9e4f13f1 h1:ZkkzXLF+7tgcXh4VSEFEWSUT+Rzn0Umb95ximuw0/+o= knative.dev/networking v0.0.0-20230412014752-750a9e4f13f1/go.mod h1:Hk0NjXch4XbahSdWifEcoT/JX8Xyjk3MT3XbvAx0PLk= -knative.dev/pkg v0.0.0-20210212203835-448ae657fb5f/go.mod h1:TJSdebQOWX5N2bszohOYVi0H1QtXbtlYLuMghAFBMhY= -knative.dev/pkg v0.0.0-20210215165523-84c98f3c3e7a/go.mod h1:TJSdebQOWX5N2bszohOYVi0H1QtXbtlYLuMghAFBMhY= -knative.dev/pkg v0.0.0-20210216013737-584933f8280b/go.mod h1:TJSdebQOWX5N2bszohOYVi0H1QtXbtlYLuMghAFBMhY= knative.dev/pkg v0.0.0-20230414154551-53f04b373cc9 h1:ZozlfXh+jwr+KE/C60thPDOdAVQ3MNRfdsFHbajHIRk= knative.dev/pkg v0.0.0-20230414154551-53f04b373cc9/go.mod h1:Xa/jM3LpUnfQabS0kKR9sMTaDn4absCVvwkdNlwRwHc= -knative.dev/reconciler-test v0.0.0-20210216030508-77f50054d024/go.mod h1:RP/K5xJylB72Go6eAsXYEsQHp4zCCNMNjmsqhvq7wko= -knative.dev/serving v0.21.0/go.mod h1:PU9k1Y6YMG27XQldEu5agNkcebvSafUXKXPircQYCsE= knative.dev/serving v0.36.1-0.20230418170156-b38ef3a7ff2c h1:ayQrrEsp2eOa1JwAncO4PI0bsjhLByQcA36eD8jOImQ= knative.dev/serving v0.36.1-0.20230418170156-b38ef3a7ff2c/go.mod h1:JxH2HRtA7aApDHBGUGE0kG6l7ZkvVbJFgE+0V6djB3k= -modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw= -modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk= -modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k= -modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs= -modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I= -pgregory.net/rapid v0.3.3/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.9/go.mod h1:dzAXnQbTRyDlZPJX2SUPEqvnB+j7AJjtlox7PEwigU0= sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 h1:iXTIw73aPyC+oRdyqqvVJuloN1p0AC/kzH07hu3NE+k= sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= -sigs.k8s.io/kustomize v2.0.3+incompatible/go.mod h1:MkjgH3RdOWrievjo6c9T245dYlB5QeXV4WCbnt/PEpU= sigs.k8s.io/kustomize/api v0.12.1 h1:7YM7gW3kYBwtKvoY216ZzY+8hM+lV53LUayghNRJ0vM= sigs.k8s.io/kustomize/api v0.12.1/go.mod h1:y3JUhimkZkR6sbLNwfJHxvo1TCLwuwm14sCYnkH6S1s= sigs.k8s.io/kustomize/kyaml v0.13.9 h1:Qz53EAaFFANyNgyOEJbT/yoIHygK40/ZcvU3rgry2Tk= sigs.k8s.io/kustomize/kyaml v0.13.9/go.mod h1:QsRbD0/KcU+wdk0/L0fIp2KLnohkVzs6fQ85/nOXac4= -sigs.k8s.io/structured-merge-diff/v4 v4.0.1/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= -sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= -sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= -sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/pkg/command/autoscaling/list.go b/pkg/command/autoscaling/list.go index 1324f756c..3a1d5bf46 100644 --- a/pkg/command/autoscaling/list.go +++ b/pkg/command/autoscaling/list.go @@ -26,8 +26,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1beta1 "k8s.io/apimachinery/pkg/apis/meta/v1beta1" _ "k8s.io/client-go/plugin/pkg/client/auth/oidc" - "knative.dev/client/pkg/kn/commands/flags" - hprinters "knative.dev/client/pkg/printers" + "knative.dev/client-pkg/pkg/kn/commands/flags" + hprinters "knative.dev/client-pkg/pkg/printers" "knative.dev/kn-plugin-admin/pkg" "knative.dev/serving/pkg/autoscaler/config" "knative.dev/serving/pkg/autoscaler/config/autoscalerconfig" diff --git a/pkg/command/autoscaling/list_test.go b/pkg/command/autoscaling/list_test.go index 4a940bec7..1af920a3b 100644 --- a/pkg/command/autoscaling/list_test.go +++ b/pkg/command/autoscaling/list_test.go @@ -23,7 +23,7 @@ import ( "gotest.tools/v3/assert" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "knative.dev/client/pkg/util" + "knative.dev/client-pkg/pkg/util" "knative.dev/kn-plugin-admin/pkg/testutil" "knative.dev/serving/pkg/autoscaler/config" ) diff --git a/pkg/command/autoscaling/update.go b/pkg/command/autoscaling/update.go index 391663ede..bbc7717b6 100644 --- a/pkg/command/autoscaling/update.go +++ b/pkg/command/autoscaling/update.go @@ -30,7 +30,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" _ "k8s.io/client-go/plugin/pkg/client/auth/oidc" - "knative.dev/client/pkg/kn/flags" + "knative.dev/client-pkg/pkg/kn/flags" as "knative.dev/serving/pkg/apis/autoscaling" ) diff --git a/pkg/command/cdc/list.go b/pkg/command/cdc/list.go index d9b838d65..6b719921c 100644 --- a/pkg/command/cdc/list.go +++ b/pkg/command/cdc/list.go @@ -20,9 +20,9 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1beta1 "k8s.io/apimachinery/pkg/apis/meta/v1beta1" - "knative.dev/client/pkg/kn/commands/flags" - "knative.dev/client/pkg/printers" - hprinters "knative.dev/client/pkg/printers" + "knative.dev/client-pkg/pkg/kn/commands/flags" + "knative.dev/client-pkg/pkg/printers" + hprinters "knative.dev/client-pkg/pkg/printers" "knative.dev/kn-plugin-admin/pkg" typev1alpha1 "knative.dev/networking/pkg/apis/networking/v1alpha1" ) diff --git a/pkg/command/domain/human_readable_flags.go b/pkg/command/domain/human_readable_flags.go index 31cb3907e..e797e435c 100644 --- a/pkg/command/domain/human_readable_flags.go +++ b/pkg/command/domain/human_readable_flags.go @@ -21,7 +21,7 @@ import ( corev1 "k8s.io/api/core/v1" metav1beta1 "k8s.io/apimachinery/pkg/apis/meta/v1beta1" - hprinters "knative.dev/client/pkg/printers" + hprinters "knative.dev/client-pkg/pkg/printers" ) // DomainListHandlers adds print handlers for domain list command diff --git a/pkg/command/domain/list.go b/pkg/command/domain/list.go index 5c0be2f98..ca7fe4e30 100644 --- a/pkg/command/domain/list.go +++ b/pkg/command/domain/list.go @@ -20,7 +20,7 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "knative.dev/client/pkg/kn/commands/flags" + "knative.dev/client-pkg/pkg/kn/commands/flags" "knative.dev/kn-plugin-admin/pkg" ) diff --git a/pkg/command/domain/list_test.go b/pkg/command/domain/list_test.go index 96814d619..88bb71e03 100644 --- a/pkg/command/domain/list_test.go +++ b/pkg/command/domain/list_test.go @@ -21,7 +21,7 @@ import ( "gotest.tools/v3/assert" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "knative.dev/client/pkg/util" + "knative.dev/client-pkg/pkg/util" "knative.dev/kn-plugin-admin/pkg/testutil" ) diff --git a/pkg/command/registry/add.go b/pkg/command/registry/add.go index caed5f691..b581383c5 100644 --- a/pkg/command/registry/add.go +++ b/pkg/command/registry/add.go @@ -21,7 +21,7 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "knative.dev/client/pkg/kn/commands" + "knative.dev/client-pkg/pkg/kn/commands" "knative.dev/kn-plugin-admin/pkg" "encoding/json" diff --git a/pkg/command/registry/human_readable_flags.go b/pkg/command/registry/human_readable_flags.go index c9878155d..bcf23727e 100644 --- a/pkg/command/registry/human_readable_flags.go +++ b/pkg/command/registry/human_readable_flags.go @@ -21,7 +21,7 @@ import ( metav1beta1 "k8s.io/apimachinery/pkg/apis/meta/v1beta1" "k8s.io/apimachinery/pkg/runtime" - hprinters "knative.dev/client/pkg/printers" + hprinters "knative.dev/client-pkg/pkg/printers" ) // RegistryListHandlers adds print handlers for registry list command diff --git a/pkg/command/registry/list.go b/pkg/command/registry/list.go index c02786ee4..cc2a7dcd0 100644 --- a/pkg/command/registry/list.go +++ b/pkg/command/registry/list.go @@ -25,8 +25,8 @@ import ( "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/kubernetes" - "knative.dev/client/pkg/kn/commands" - "knative.dev/client/pkg/kn/commands/flags" + "knative.dev/client-pkg/pkg/kn/commands" + "knative.dev/client-pkg/pkg/kn/commands/flags" "knative.dev/kn-plugin-admin/pkg" ) diff --git a/pkg/command/registry/list_test.go b/pkg/command/registry/list_test.go index 661fd30d5..f08103408 100644 --- a/pkg/command/registry/list_test.go +++ b/pkg/command/registry/list_test.go @@ -25,7 +25,7 @@ import ( "k8s.io/client-go/kubernetes" k8sfake "k8s.io/client-go/kubernetes/fake" - "knative.dev/client/pkg/util" + "knative.dev/client-pkg/pkg/util" "knative.dev/kn-plugin-admin/pkg" "knative.dev/kn-plugin-admin/pkg/testutil" ) diff --git a/pkg/command/registry/remove.go b/pkg/command/registry/remove.go index 9a4f2d899..2c314161d 100644 --- a/pkg/command/registry/remove.go +++ b/pkg/command/registry/remove.go @@ -27,7 +27,7 @@ import ( "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/kubernetes" - "knative.dev/client/pkg/kn/commands" + "knative.dev/client-pkg/pkg/kn/commands" "knative.dev/kn-plugin-admin/pkg" "github.com/spf13/cobra" diff --git a/plugin/plugin.go b/plugin/plugin.go index 906867fd0..0ab8a6148 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -19,7 +19,7 @@ import ( "knative.dev/kn-plugin-admin/core" - "knative.dev/client/pkg/kn/plugin" + "knative.dev/client-pkg/pkg/kn/plugin" ) func init() { diff --git a/test/e2e/kn_admin_test.go b/test/e2e/kn_admin_test.go index d9382cba9..9853cdb0e 100644 --- a/test/e2e/kn_admin_test.go +++ b/test/e2e/kn_admin_test.go @@ -25,10 +25,10 @@ import ( "strings" "testing" - testcommon "github.com/maximilien/kn-source-pkg/test/e2e" "gotest.tools/v3/assert" - "knative.dev/client/lib/test" - "knative.dev/client/pkg/util" + testcommon "knative.dev/client-pkg/pkg/kn-source-pkg/test/e2e" + "knative.dev/client-pkg/pkg/util" + "knative.dev/client-pkg/pkg/util/test" "knative.dev/kn-plugin-admin/pkg/command/autoscaling" "knative.dev/serving/pkg/autoscaler/config" ) diff --git a/third_party/VENDOR-LICENSE/knative.dev/client/pkg/LICENSE b/third_party/VENDOR-LICENSE/knative.dev/client-pkg/pkg/LICENSE similarity index 100% rename from third_party/VENDOR-LICENSE/knative.dev/client/pkg/LICENSE rename to third_party/VENDOR-LICENSE/knative.dev/client-pkg/pkg/LICENSE diff --git a/vendor/github.com/maximilien/kn-source-pkg/LICENSE b/vendor/knative.dev/client-pkg/LICENSE similarity index 100% rename from vendor/github.com/maximilien/kn-source-pkg/LICENSE rename to vendor/knative.dev/client-pkg/LICENSE diff --git a/vendor/knative.dev/client/pkg/apis/client/register.go b/vendor/knative.dev/client-pkg/pkg/apis/client/register.go similarity index 94% rename from vendor/knative.dev/client/pkg/apis/client/register.go rename to vendor/knative.dev/client-pkg/pkg/apis/client/register.go index c5eb97b76..cf294021e 100644 --- a/vendor/knative.dev/client/pkg/apis/client/register.go +++ b/vendor/knative.dev/client-pkg/pkg/apis/client/register.go @@ -18,5 +18,5 @@ package client // GroupName is the group name used in this package const ( - GroupName = "client.knative.dev" + GroupName = "client-pkg.knative.dev" ) diff --git a/vendor/knative.dev/client/pkg/apis/client/v1alpha1/doc.go b/vendor/knative.dev/client-pkg/pkg/apis/client/v1alpha1/doc.go similarity index 85% rename from vendor/knative.dev/client/pkg/apis/client/v1alpha1/doc.go rename to vendor/knative.dev/client-pkg/pkg/apis/client/v1alpha1/doc.go index 967f24dc4..ae2317276 100644 --- a/vendor/knative.dev/client/pkg/apis/client/v1alpha1/doc.go +++ b/vendor/knative.dev/client-pkg/pkg/apis/client/v1alpha1/doc.go @@ -15,7 +15,7 @@ limitations under the License. */ // +k8s:deepcopy-gen=package -// +groupName=client.knative.dev +// +groupName=client-pkg.knative.dev // Package v1alpha1 is the v1alpha1 version of the API. -package v1alpha1 // import "knative.dev/client/pkg/apis/client/serving/v1alpha1" +package v1alpha1 // import "knative.dev/client-pkg/pkg/apis/client/v1alpha1" diff --git a/vendor/knative.dev/client/pkg/apis/client/v1alpha1/export_types.go b/vendor/knative.dev/client-pkg/pkg/apis/client/v1alpha1/export_types.go similarity index 100% rename from vendor/knative.dev/client/pkg/apis/client/v1alpha1/export_types.go rename to vendor/knative.dev/client-pkg/pkg/apis/client/v1alpha1/export_types.go diff --git a/vendor/knative.dev/client/pkg/apis/client/v1alpha1/register.go b/vendor/knative.dev/client-pkg/pkg/apis/client/v1alpha1/register.go similarity index 97% rename from vendor/knative.dev/client/pkg/apis/client/v1alpha1/register.go rename to vendor/knative.dev/client-pkg/pkg/apis/client/v1alpha1/register.go index a05b3398e..19ff9232a 100644 --- a/vendor/knative.dev/client/pkg/apis/client/v1alpha1/register.go +++ b/vendor/knative.dev/client-pkg/pkg/apis/client/v1alpha1/register.go @@ -21,7 +21,7 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" - "knative.dev/client/pkg/apis/client" + "knative.dev/client-pkg/pkg/apis/client" ) // SchemeGroupVersion is group version used to register these objects diff --git a/vendor/knative.dev/client/pkg/apis/client/v1alpha1/zz_generated.deepcopy.go b/vendor/knative.dev/client-pkg/pkg/apis/client/v1alpha1/zz_generated.deepcopy.go similarity index 100% rename from vendor/knative.dev/client/pkg/apis/client/v1alpha1/zz_generated.deepcopy.go rename to vendor/knative.dev/client-pkg/pkg/apis/client/v1alpha1/zz_generated.deepcopy.go diff --git a/vendor/knative.dev/client/pkg/config/defaults.go b/vendor/knative.dev/client-pkg/pkg/config/defaults.go similarity index 100% rename from vendor/knative.dev/client/pkg/config/defaults.go rename to vendor/knative.dev/client-pkg/pkg/config/defaults.go diff --git a/vendor/knative.dev/client/pkg/dynamic/client.go b/vendor/knative.dev/client-pkg/pkg/dynamic/client.go similarity index 99% rename from vendor/knative.dev/client/pkg/dynamic/client.go rename to vendor/knative.dev/client-pkg/pkg/dynamic/client.go index e885dca84..950abf2ef 100644 --- a/vendor/knative.dev/client/pkg/dynamic/client.go +++ b/vendor/knative.dev/client-pkg/pkg/dynamic/client.go @@ -25,7 +25,7 @@ import ( "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/dynamic" - "knative.dev/client/pkg/util" + "knative.dev/client-pkg/pkg/util" "knative.dev/eventing/pkg/apis/messaging" ) diff --git a/vendor/knative.dev/client/pkg/dynamic/client_mock.go b/vendor/knative.dev/client-pkg/pkg/dynamic/client_mock.go similarity index 99% rename from vendor/knative.dev/client/pkg/dynamic/client_mock.go rename to vendor/knative.dev/client-pkg/pkg/dynamic/client_mock.go index ebeb19eab..c856f1086 100644 --- a/vendor/knative.dev/client/pkg/dynamic/client_mock.go +++ b/vendor/knative.dev/client-pkg/pkg/dynamic/client_mock.go @@ -22,7 +22,7 @@ import ( "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/client-go/dynamic" - "knative.dev/client/pkg/util/mock" + "knative.dev/client-pkg/pkg/util/mock" ) // MockKnDynamicClient is a combine of test object and recorder diff --git a/vendor/knative.dev/client/pkg/dynamic/fake/fake.go b/vendor/knative.dev/client-pkg/pkg/dynamic/fake/fake.go similarity index 97% rename from vendor/knative.dev/client/pkg/dynamic/fake/fake.go rename to vendor/knative.dev/client-pkg/pkg/dynamic/fake/fake.go index 954cc43ff..205523257 100644 --- a/vendor/knative.dev/client/pkg/dynamic/fake/fake.go +++ b/vendor/knative.dev/client-pkg/pkg/dynamic/fake/fake.go @@ -20,7 +20,7 @@ import ( apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" "k8s.io/apimachinery/pkg/runtime" - "knative.dev/client/pkg/dynamic" + "knative.dev/client-pkg/pkg/dynamic" eventingv1 "knative.dev/eventing/pkg/apis/eventing/v1" messagingv1 "knative.dev/eventing/pkg/apis/messaging/v1" diff --git a/vendor/knative.dev/client/pkg/dynamic/lib.go b/vendor/knative.dev/client-pkg/pkg/dynamic/lib.go similarity index 100% rename from vendor/knative.dev/client/pkg/dynamic/lib.go rename to vendor/knative.dev/client-pkg/pkg/dynamic/lib.go diff --git a/vendor/knative.dev/client/pkg/errors/errors.go b/vendor/knative.dev/client-pkg/pkg/errors/errors.go similarity index 100% rename from vendor/knative.dev/client/pkg/errors/errors.go rename to vendor/knative.dev/client-pkg/pkg/errors/errors.go diff --git a/vendor/knative.dev/client/pkg/errors/factory.go b/vendor/knative.dev/client-pkg/pkg/errors/factory.go similarity index 100% rename from vendor/knative.dev/client/pkg/errors/factory.go rename to vendor/knative.dev/client-pkg/pkg/errors/factory.go diff --git a/vendor/knative.dev/client/pkg/errors/knerror.go b/vendor/knative.dev/client-pkg/pkg/errors/knerror.go similarity index 100% rename from vendor/knative.dev/client/pkg/errors/knerror.go rename to vendor/knative.dev/client-pkg/pkg/errors/knerror.go diff --git a/vendor/knative.dev/client/pkg/errors/types.go b/vendor/knative.dev/client-pkg/pkg/errors/types.go similarity index 100% rename from vendor/knative.dev/client/pkg/errors/types.go rename to vendor/knative.dev/client-pkg/pkg/errors/types.go diff --git a/vendor/knative.dev/client/pkg/eventing/v1/client.go b/vendor/knative.dev/client-pkg/pkg/eventing/v1/client.go similarity index 99% rename from vendor/knative.dev/client/pkg/eventing/v1/client.go rename to vendor/knative.dev/client-pkg/pkg/eventing/v1/client.go index decc443e1..8e502996d 100644 --- a/vendor/knative.dev/client/pkg/eventing/v1/client.go +++ b/vendor/knative.dev/client-pkg/pkg/eventing/v1/client.go @@ -24,16 +24,16 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/util/retry" - "knative.dev/client/pkg/config" + "knative.dev/client-pkg/pkg/config" v1 "knative.dev/eventing/pkg/apis/duck/v1" eventingv1 "knative.dev/eventing/pkg/apis/eventing/v1" "knative.dev/eventing/pkg/client/clientset/versioned/scheme" clientv1 "knative.dev/eventing/pkg/client/clientset/versioned/typed/eventing/v1" duckv1 "knative.dev/pkg/apis/duck/v1" - kn_errors "knative.dev/client/pkg/errors" - "knative.dev/client/pkg/util" - "knative.dev/client/pkg/wait" + kn_errors "knative.dev/client-pkg/pkg/errors" + "knative.dev/client-pkg/pkg/util" + "knative.dev/client-pkg/pkg/wait" ) type TriggerUpdateFunc func(origTrigger *eventingv1.Trigger) (*eventingv1.Trigger, error) diff --git a/vendor/knative.dev/client/pkg/eventing/v1beta1/client.go b/vendor/knative.dev/client-pkg/pkg/eventing/v1beta1/client.go similarity index 98% rename from vendor/knative.dev/client/pkg/eventing/v1beta1/client.go rename to vendor/knative.dev/client-pkg/pkg/eventing/v1beta1/client.go index 39bb5d983..8572bee18 100644 --- a/vendor/knative.dev/client/pkg/eventing/v1beta1/client.go +++ b/vendor/knative.dev/client-pkg/pkg/eventing/v1beta1/client.go @@ -19,8 +19,8 @@ import ( apis_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - kn_errors "knative.dev/client/pkg/errors" - "knative.dev/client/pkg/util" + kn_errors "knative.dev/client-pkg/pkg/errors" + "knative.dev/client-pkg/pkg/util" eventingv1beta1 "knative.dev/eventing/pkg/apis/eventing/v1beta1" "knative.dev/eventing/pkg/client/clientset/versioned/scheme" beta1 "knative.dev/eventing/pkg/client/clientset/versioned/typed/eventing/v1beta1" diff --git a/vendor/github.com/maximilien/kn-source-pkg/test/e2e/common.go b/vendor/knative.dev/client-pkg/pkg/kn-source-pkg/test/e2e/common.go similarity index 96% rename from vendor/github.com/maximilien/kn-source-pkg/test/e2e/common.go rename to vendor/knative.dev/client-pkg/pkg/kn-source-pkg/test/e2e/common.go index e78f105c7..d55423c0a 100644 --- a/vendor/github.com/maximilien/kn-source-pkg/test/e2e/common.go +++ b/vendor/knative.dev/client-pkg/pkg/kn-source-pkg/test/e2e/common.go @@ -15,7 +15,7 @@ package e2e import ( - "knative.dev/client/lib/test" + "knative.dev/client-pkg/pkg/util/test" ) type E2ETest struct { diff --git a/vendor/github.com/maximilien/kn-source-pkg/test/e2e/kn_plugin.go b/vendor/knative.dev/client-pkg/pkg/kn-source-pkg/test/e2e/kn_plugin.go similarity index 92% rename from vendor/github.com/maximilien/kn-source-pkg/test/e2e/kn_plugin.go rename to vendor/knative.dev/client-pkg/pkg/kn-source-pkg/test/e2e/kn_plugin.go index 609705caf..f23ca49f9 100644 --- a/vendor/github.com/maximilien/kn-source-pkg/test/e2e/kn_plugin.go +++ b/vendor/knative.dev/client-pkg/pkg/kn-source-pkg/test/e2e/kn_plugin.go @@ -16,30 +16,29 @@ package e2e import ( "fmt" - "io/ioutil" "os" "path/filepath" "runtime" "strings" homedir "github.com/mitchellh/go-homedir" - "knative.dev/client/lib/test" + test2 "knative.dev/client-pkg/pkg/util/test" ) type knPlugin struct { - kn test.Kn + kn test2.Kn pluginName string pluginPath string install bool } // Run the KnPlugin returning a KnRunResult -func (kp *knPlugin) Run(args ...string) test.KnRunResult { +func (kp *knPlugin) Run(args ...string) test2.KnRunResult { if kp.install { err := kp.Install() if err != nil { fmt.Printf("error installing kn plugin: %s\n", err.Error()) - return test.KnRunResult{} + return test2.KnRunResult{} } defer kp.Uninstall() } @@ -47,7 +46,7 @@ func (kp *knPlugin) Run(args ...string) test.KnRunResult { } // Kn object to run `kn` -func (kp *knPlugin) Kn() test.Kn { +func (kp *knPlugin) Kn() test2.Kn { return kp.kn } @@ -100,12 +99,12 @@ func (kp *knPlugin) Uninstall() error { // Utility functions func copyPluginFile(sourceFile string, destDir string) error { - input, err := ioutil.ReadFile(sourceFile) + input, err := os.ReadFile(sourceFile) if err != nil { return err } - err = ioutil.WriteFile(destDir, input, 0700) + err = os.WriteFile(destDir, input, 0700) if err != nil { return err } @@ -154,9 +153,9 @@ func pluginArgs(pluginName string) []string { return pluginParts[1:] } -func RunKnPlugin(namespace string, pluginName string, args []string) test.KnRunResult { +func RunKnPlugin(namespace string, pluginName string, args []string) test2.KnRunResult { pluginArgs := pluginArgs(pluginName) args = append(args, []string{"--namespace", namespace}...) argsWithPlugin := append(pluginArgs, args...) - return test.RunKn(namespace, argsWithPlugin) + return test2.RunKn(namespace, argsWithPlugin) } diff --git a/vendor/knative.dev/client/pkg/kn/commands/describe.go b/vendor/knative.dev/client-pkg/pkg/kn/commands/describe.go similarity index 99% rename from vendor/knative.dev/client/pkg/kn/commands/describe.go rename to vendor/knative.dev/client-pkg/pkg/kn/commands/describe.go index 2fd753805..89bfdeaf2 100644 --- a/vendor/knative.dev/client/pkg/kn/commands/describe.go +++ b/vendor/knative.dev/client-pkg/pkg/kn/commands/describe.go @@ -24,7 +24,7 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/duration" - "knative.dev/client/pkg/printers" + "knative.dev/client-pkg/pkg/printers" "knative.dev/pkg/apis" ) diff --git a/vendor/knative.dev/client/pkg/kn/commands/flags/listprint.go b/vendor/knative.dev/client-pkg/pkg/kn/commands/flags/listprint.go similarity index 96% rename from vendor/knative.dev/client/pkg/kn/commands/flags/listprint.go rename to vendor/knative.dev/client-pkg/pkg/kn/commands/flags/listprint.go index da73381c0..ed562c9e1 100644 --- a/vendor/knative.dev/client/pkg/kn/commands/flags/listprint.go +++ b/vendor/knative.dev/client-pkg/pkg/kn/commands/flags/listprint.go @@ -21,9 +21,9 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/cli-runtime/pkg/genericclioptions" - "knative.dev/client/pkg/kn/commands" - hprinters "knative.dev/client/pkg/printers" - "knative.dev/client/pkg/util" + "knative.dev/client-pkg/pkg/kn/commands" + hprinters "knative.dev/client-pkg/pkg/printers" + "knative.dev/client-pkg/pkg/util" ) // ListFlags composes common printer flag structs diff --git a/vendor/knative.dev/client/pkg/kn/commands/flags/sink.go b/vendor/knative.dev/client-pkg/pkg/kn/commands/flags/sink.go similarity index 98% rename from vendor/knative.dev/client/pkg/kn/commands/flags/sink.go rename to vendor/knative.dev/client-pkg/pkg/kn/commands/flags/sink.go index 36a524a63..509b82450 100644 --- a/vendor/knative.dev/client/pkg/kn/commands/flags/sink.go +++ b/vendor/knative.dev/client-pkg/pkg/kn/commands/flags/sink.go @@ -25,8 +25,8 @@ import ( "knative.dev/pkg/apis" duckv1 "knative.dev/pkg/apis/duck/v1" - clientdynamic "knative.dev/client/pkg/dynamic" - "knative.dev/client/pkg/kn/config" + clientdynamic "knative.dev/client-pkg/pkg/dynamic" + "knative.dev/client-pkg/pkg/kn/config" ) type SinkFlags struct { diff --git a/vendor/knative.dev/client/pkg/kn/commands/human_readable_flags.go b/vendor/knative.dev/client-pkg/pkg/kn/commands/human_readable_flags.go similarity index 98% rename from vendor/knative.dev/client/pkg/kn/commands/human_readable_flags.go rename to vendor/knative.dev/client-pkg/pkg/kn/commands/human_readable_flags.go index 716c11970..faa477e2d 100644 --- a/vendor/knative.dev/client/pkg/kn/commands/human_readable_flags.go +++ b/vendor/knative.dev/client-pkg/pkg/kn/commands/human_readable_flags.go @@ -22,7 +22,7 @@ import ( "github.com/spf13/pflag" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/duration" - hprinters "knative.dev/client/pkg/printers" + hprinters "knative.dev/client-pkg/pkg/printers" "knative.dev/pkg/apis" duckv1 "knative.dev/pkg/apis/duck/v1" ) diff --git a/vendor/knative.dev/client/pkg/kn/commands/namespaced.go b/vendor/knative.dev/client-pkg/pkg/kn/commands/namespaced.go similarity index 100% rename from vendor/knative.dev/client/pkg/kn/commands/namespaced.go rename to vendor/knative.dev/client-pkg/pkg/kn/commands/namespaced.go diff --git a/vendor/knative.dev/client/pkg/kn/commands/testing_helper.go b/vendor/knative.dev/client-pkg/pkg/kn/commands/testing_helper.go similarity index 93% rename from vendor/knative.dev/client/pkg/kn/commands/testing_helper.go rename to vendor/knative.dev/client-pkg/pkg/kn/commands/testing_helper.go index 391d8ab9c..2f23da9b5 100644 --- a/vendor/knative.dev/client/pkg/kn/commands/testing_helper.go +++ b/vendor/knative.dev/client-pkg/pkg/kn/commands/testing_helper.go @@ -17,20 +17,20 @@ package commands import ( "bytes" - "knative.dev/client/pkg/dynamic/fake" + "knative.dev/client-pkg/pkg/dynamic/fake" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/runtime" clienttesting "k8s.io/client-go/testing" servingv1fake "knative.dev/serving/pkg/client/clientset/versioned/typed/serving/v1/fake" - "knative.dev/client/pkg/kn/flags" - clientservingv1 "knative.dev/client/pkg/serving/v1" - v1 "knative.dev/client/pkg/sources/v1" + "knative.dev/client-pkg/pkg/kn/flags" + clientservingv1 "knative.dev/client-pkg/pkg/serving/v1" + v1 "knative.dev/client-pkg/pkg/sources/v1" sourcesv1fake "knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1/fake" - clientdynamic "knative.dev/client/pkg/dynamic" + clientdynamic "knative.dev/client-pkg/pkg/dynamic" ) const FakeNamespace = "current" diff --git a/vendor/knative.dev/client/pkg/kn/commands/types.go b/vendor/knative.dev/client-pkg/pkg/kn/commands/types.go similarity index 93% rename from vendor/knative.dev/client/pkg/kn/commands/types.go rename to vendor/knative.dev/client-pkg/pkg/kn/commands/types.go index 64e448ee2..bc78f4c30 100644 --- a/vendor/knative.dev/client/pkg/kn/commands/types.go +++ b/vendor/knative.dev/client-pkg/pkg/kn/commands/types.go @@ -31,17 +31,17 @@ import ( servingv1client "knative.dev/serving/pkg/client/clientset/versioned/typed/serving/v1" servingv1alpha1client "knative.dev/serving/pkg/client/clientset/versioned/typed/serving/v1alpha1" - "knative.dev/client/pkg/util" - - clientdynamic "knative.dev/client/pkg/dynamic" - knerrors "knative.dev/client/pkg/errors" - clienteventingv1 "knative.dev/client/pkg/eventing/v1" - clienteventingv1beta1 "knative.dev/client/pkg/eventing/v1beta1" - clientmessagingv1 "knative.dev/client/pkg/messaging/v1" - clientservingv1 "knative.dev/client/pkg/serving/v1" - clientservingv1alpha1 "knative.dev/client/pkg/serving/v1alpha1" - clientsourcesv1 "knative.dev/client/pkg/sources/v1" - clientsourcesv1beta2 "knative.dev/client/pkg/sources/v1beta2" + "knative.dev/client-pkg/pkg/util" + + clientdynamic "knative.dev/client-pkg/pkg/dynamic" + knerrors "knative.dev/client-pkg/pkg/errors" + clienteventingv1 "knative.dev/client-pkg/pkg/eventing/v1" + clienteventingv1beta1 "knative.dev/client-pkg/pkg/eventing/v1beta1" + clientmessagingv1 "knative.dev/client-pkg/pkg/messaging/v1" + clientservingv1 "knative.dev/client-pkg/pkg/serving/v1" + clientservingv1alpha1 "knative.dev/client-pkg/pkg/serving/v1alpha1" + clientsourcesv1 "knative.dev/client-pkg/pkg/sources/v1" + clientsourcesv1beta2 "knative.dev/client-pkg/pkg/sources/v1beta2" ) // KnParams for creating commands. Useful for inserting mocks for testing. diff --git a/vendor/knative.dev/client/pkg/kn/config/config.go b/vendor/knative.dev/client-pkg/pkg/kn/config/config.go similarity index 100% rename from vendor/knative.dev/client/pkg/kn/config/config.go rename to vendor/knative.dev/client-pkg/pkg/kn/config/config.go diff --git a/vendor/knative.dev/client/pkg/kn/config/types.go b/vendor/knative.dev/client-pkg/pkg/kn/config/types.go similarity index 100% rename from vendor/knative.dev/client/pkg/kn/config/types.go rename to vendor/knative.dev/client-pkg/pkg/kn/config/types.go diff --git a/vendor/knative.dev/client/pkg/kn/flags/bool.go b/vendor/knative.dev/client-pkg/pkg/kn/flags/bool.go similarity index 100% rename from vendor/knative.dev/client/pkg/kn/flags/bool.go rename to vendor/knative.dev/client-pkg/pkg/kn/flags/bool.go diff --git a/vendor/knative.dev/client/pkg/kn/flags/podspec_helper.go b/vendor/knative.dev/client-pkg/pkg/kn/flags/podspec_helper.go similarity index 99% rename from vendor/knative.dev/client/pkg/kn/flags/podspec_helper.go rename to vendor/knative.dev/client-pkg/pkg/kn/flags/podspec_helper.go index 97ee7c81b..4a2dfd127 100644 --- a/vendor/knative.dev/client/pkg/kn/flags/podspec_helper.go +++ b/vendor/knative.dev/client-pkg/pkg/kn/flags/podspec_helper.go @@ -28,7 +28,7 @@ import ( corev1 "k8s.io/api/core/v1" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/util/sets" - "knative.dev/client/pkg/util" + "knative.dev/client-pkg/pkg/util" ) // VolumeSourceType is a type standing for enumeration of ConfigMap and Secret diff --git a/vendor/knative.dev/client-pkg/pkg/kn/plugin/types.go b/vendor/knative.dev/client-pkg/pkg/kn/plugin/types.go new file mode 100644 index 000000000..1d740b9a5 --- /dev/null +++ b/vendor/knative.dev/client-pkg/pkg/kn/plugin/types.go @@ -0,0 +1,30 @@ +package plugin + +// Allow plugins to register to this slice for inlining +var InternalPlugins PluginList + +// Interface describing a plugin +type Plugin interface { + // Get the name of the plugin (the file name without extensions) + Name() string + + // Execute the plugin with the given arguments + Execute(args []string) error + + // Return a description of the plugin (if support by the plugin binary) + Description() (string, error) + + // The command path leading to this plugin. + // Eg. for a plugin "kn source github" this will be [ "source", "github" ] + CommandParts() []string + + // Location of the plugin where it is stored in the filesystem + Path() string +} + +// Used for sorting a list of plugins +type PluginList []Plugin + +func (p PluginList) Len() int { return len(p) } +func (p PluginList) Less(i, j int) bool { return p[i].Name() < p[j].Name() } +func (p PluginList) Swap(i, j int) { p[i], p[j] = p[j], p[i] } diff --git a/vendor/knative.dev/client/pkg/messaging/v1/channels_client.go b/vendor/knative.dev/client-pkg/pkg/messaging/v1/channels_client.go similarity index 98% rename from vendor/knative.dev/client/pkg/messaging/v1/channels_client.go rename to vendor/knative.dev/client-pkg/pkg/messaging/v1/channels_client.go index 2f996155d..5a4beb5a2 100644 --- a/vendor/knative.dev/client/pkg/messaging/v1/channels_client.go +++ b/vendor/knative.dev/client-pkg/pkg/messaging/v1/channels_client.go @@ -17,7 +17,7 @@ package v1 import ( "context" - "knative.dev/client/pkg/util" + "knative.dev/client-pkg/pkg/util" eventingv1 "knative.dev/eventing/pkg/apis/eventing/v1" "knative.dev/eventing/pkg/client/clientset/versioned/scheme" @@ -26,7 +26,7 @@ import ( messagingv1 "knative.dev/eventing/pkg/apis/messaging/v1" clientmessagingv1 "knative.dev/eventing/pkg/client/clientset/versioned/typed/messaging/v1" - knerrors "knative.dev/client/pkg/errors" + knerrors "knative.dev/client-pkg/pkg/errors" ) // KnChannelsClient for interacting with Channels diff --git a/vendor/knative.dev/client/pkg/messaging/v1/channels_client_mock.go b/vendor/knative.dev/client-pkg/pkg/messaging/v1/channels_client_mock.go similarity index 99% rename from vendor/knative.dev/client/pkg/messaging/v1/channels_client_mock.go rename to vendor/knative.dev/client-pkg/pkg/messaging/v1/channels_client_mock.go index bc4cab109..bb7120e2a 100644 --- a/vendor/knative.dev/client/pkg/messaging/v1/channels_client_mock.go +++ b/vendor/knative.dev/client-pkg/pkg/messaging/v1/channels_client_mock.go @@ -20,7 +20,7 @@ import ( messagingv1 "knative.dev/eventing/pkg/apis/messaging/v1" - "knative.dev/client/pkg/util/mock" + "knative.dev/client-pkg/pkg/util/mock" ) type MockKnChannelsClient struct { diff --git a/vendor/knative.dev/client/pkg/messaging/v1/client.go b/vendor/knative.dev/client-pkg/pkg/messaging/v1/client.go similarity index 98% rename from vendor/knative.dev/client/pkg/messaging/v1/client.go rename to vendor/knative.dev/client-pkg/pkg/messaging/v1/client.go index a3bf1064e..eeadc12e5 100644 --- a/vendor/knative.dev/client/pkg/messaging/v1/client.go +++ b/vendor/knative.dev/client-pkg/pkg/messaging/v1/client.go @@ -21,7 +21,7 @@ import ( "knative.dev/eventing/pkg/client/clientset/versioned/scheme" clientv1beta1 "knative.dev/eventing/pkg/client/clientset/versioned/typed/messaging/v1" - "knative.dev/client/pkg/util" + "knative.dev/client-pkg/pkg/util" ) // KnMessagingClient to Eventing Messaging. All methods are relative to diff --git a/vendor/knative.dev/client/pkg/messaging/v1/subscriptions_client.go b/vendor/knative.dev/client-pkg/pkg/messaging/v1/subscriptions_client.go similarity index 98% rename from vendor/knative.dev/client/pkg/messaging/v1/subscriptions_client.go rename to vendor/knative.dev/client-pkg/pkg/messaging/v1/subscriptions_client.go index c52d902bd..61c4dc5bf 100644 --- a/vendor/knative.dev/client/pkg/messaging/v1/subscriptions_client.go +++ b/vendor/knative.dev/client-pkg/pkg/messaging/v1/subscriptions_client.go @@ -20,7 +20,7 @@ import ( "context" "fmt" - "knative.dev/client/pkg/config" + "knative.dev/client-pkg/pkg/config" "k8s.io/client-go/util/retry" @@ -30,7 +30,7 @@ import ( clientmessagingv1 "knative.dev/eventing/pkg/client/clientset/versioned/typed/messaging/v1" duckv1 "knative.dev/pkg/apis/duck/v1" - knerrors "knative.dev/client/pkg/errors" + knerrors "knative.dev/client-pkg/pkg/errors" ) type SubscriptionUpdateFunc func(origSub *messagingv1.Subscription) (*messagingv1.Subscription, error) diff --git a/vendor/knative.dev/client/pkg/messaging/v1/subscriptions_client_mock.go b/vendor/knative.dev/client-pkg/pkg/messaging/v1/subscriptions_client_mock.go similarity index 99% rename from vendor/knative.dev/client/pkg/messaging/v1/subscriptions_client_mock.go rename to vendor/knative.dev/client-pkg/pkg/messaging/v1/subscriptions_client_mock.go index 11091a03c..1f84ad8c9 100644 --- a/vendor/knative.dev/client/pkg/messaging/v1/subscriptions_client_mock.go +++ b/vendor/knative.dev/client-pkg/pkg/messaging/v1/subscriptions_client_mock.go @@ -22,7 +22,7 @@ import ( messagingv1 "knative.dev/eventing/pkg/apis/messaging/v1" - "knative.dev/client/pkg/util/mock" + "knative.dev/client-pkg/pkg/util/mock" ) type MockKnSubscriptionsClient struct { diff --git a/vendor/knative.dev/client/pkg/printers/interface.go b/vendor/knative.dev/client-pkg/pkg/printers/interface.go similarity index 100% rename from vendor/knative.dev/client/pkg/printers/interface.go rename to vendor/knative.dev/client-pkg/pkg/printers/interface.go diff --git a/vendor/knative.dev/client/pkg/printers/prefixwriter.go b/vendor/knative.dev/client-pkg/pkg/printers/prefixwriter.go similarity index 100% rename from vendor/knative.dev/client/pkg/printers/prefixwriter.go rename to vendor/knative.dev/client-pkg/pkg/printers/prefixwriter.go diff --git a/vendor/knative.dev/client/pkg/printers/tablegenerator.go b/vendor/knative.dev/client-pkg/pkg/printers/tablegenerator.go similarity index 98% rename from vendor/knative.dev/client/pkg/printers/tablegenerator.go rename to vendor/knative.dev/client-pkg/pkg/printers/tablegenerator.go index 95fd6d8a1..27fd94be4 100644 --- a/vendor/knative.dev/client/pkg/printers/tablegenerator.go +++ b/vendor/knative.dev/client-pkg/pkg/printers/tablegenerator.go @@ -74,8 +74,9 @@ func (h *HumanReadablePrinter) GenerateTable(obj runtime.Object, options PrintOp } columns := make([]metav1beta1.TableColumnDefinition, 0, len(handler.columnDefinitions)) - - columns = append(columns, handler.columnDefinitions...) + for i := range handler.columnDefinitions { + columns = append(columns, handler.columnDefinitions[i]) + } table := &metav1beta1.Table{ ListMeta: metav1.ListMeta{ diff --git a/vendor/knative.dev/client/pkg/printers/tableprinter.go b/vendor/knative.dev/client-pkg/pkg/printers/tableprinter.go similarity index 100% rename from vendor/knative.dev/client/pkg/printers/tableprinter.go rename to vendor/knative.dev/client-pkg/pkg/printers/tableprinter.go diff --git a/vendor/knative.dev/client/pkg/printers/tabwriter.go b/vendor/knative.dev/client-pkg/pkg/printers/tabwriter.go similarity index 100% rename from vendor/knative.dev/client/pkg/printers/tabwriter.go rename to vendor/knative.dev/client-pkg/pkg/printers/tabwriter.go diff --git a/vendor/knative.dev/client/pkg/serving/config_changes.go b/vendor/knative.dev/client-pkg/pkg/serving/config_changes.go similarity index 99% rename from vendor/knative.dev/client/pkg/serving/config_changes.go rename to vendor/knative.dev/client-pkg/pkg/serving/config_changes.go index 41287f072..4a7f15328 100644 --- a/vendor/knative.dev/client/pkg/serving/config_changes.go +++ b/vendor/knative.dev/client-pkg/pkg/serving/config_changes.go @@ -22,7 +22,7 @@ import ( "strings" "time" - "knative.dev/client/pkg/kn/flags" + "knative.dev/client-pkg/pkg/kn/flags" "knative.dev/pkg/ptr" "knative.dev/serving/pkg/apis/autoscaling" servingconfig "knative.dev/serving/pkg/apis/config" diff --git a/vendor/knative.dev/client/pkg/serving/revision_template.go b/vendor/knative.dev/client-pkg/pkg/serving/revision_template.go similarity index 100% rename from vendor/knative.dev/client/pkg/serving/revision_template.go rename to vendor/knative.dev/client-pkg/pkg/serving/revision_template.go diff --git a/vendor/knative.dev/client/pkg/serving/v1/apply.go b/vendor/knative.dev/client-pkg/pkg/serving/v1/apply.go similarity index 99% rename from vendor/knative.dev/client/pkg/serving/v1/apply.go rename to vendor/knative.dev/client-pkg/pkg/serving/v1/apply.go index 11808b426..40588d69f 100644 --- a/vendor/knative.dev/client/pkg/serving/v1/apply.go +++ b/vendor/knative.dev/client-pkg/pkg/serving/v1/apply.go @@ -15,7 +15,7 @@ import ( "k8s.io/apimachinery/pkg/util/jsonmergepatch" servingv1 "knative.dev/serving/pkg/apis/serving/v1" - "knative.dev/client/pkg/util" + "knative.dev/client-pkg/pkg/util" ) // Copyright © 2020 The Knative Authors diff --git a/vendor/knative.dev/client/pkg/serving/v1/client.go b/vendor/knative.dev/client-pkg/pkg/serving/v1/client.go similarity index 99% rename from vendor/knative.dev/client/pkg/serving/v1/client.go rename to vendor/knative.dev/client-pkg/pkg/serving/v1/client.go index f5c6e964a..9c83ab595 100644 --- a/vendor/knative.dev/client/pkg/serving/v1/client.go +++ b/vendor/knative.dev/client-pkg/pkg/serving/v1/client.go @@ -20,7 +20,7 @@ import ( "fmt" "time" - "knative.dev/client/pkg/config" + "knative.dev/client-pkg/pkg/config" "k8s.io/client-go/util/retry" @@ -29,9 +29,9 @@ import ( "knative.dev/pkg/apis" "knative.dev/serving/pkg/client/clientset/versioned/scheme" - "knative.dev/client/pkg/serving" - "knative.dev/client/pkg/util" - "knative.dev/client/pkg/wait" + "knative.dev/client-pkg/pkg/serving" + "knative.dev/client-pkg/pkg/util" + "knative.dev/client-pkg/pkg/wait" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" @@ -41,7 +41,7 @@ import ( servingv1 "knative.dev/serving/pkg/apis/serving/v1" clientv1 "knative.dev/serving/pkg/client/clientset/versioned/typed/serving/v1" - clienterrors "knative.dev/client/pkg/errors" + clienterrors "knative.dev/client-pkg/pkg/errors" ) // Func signature for an updating function which returns the updated service object diff --git a/vendor/knative.dev/client/pkg/serving/v1/gitops.go b/vendor/knative.dev/client-pkg/pkg/serving/v1/gitops.go similarity index 99% rename from vendor/knative.dev/client/pkg/serving/v1/gitops.go rename to vendor/knative.dev/client-pkg/pkg/serving/v1/gitops.go index d3b3d0579..7dcc9ad1e 100644 --- a/vendor/knative.dev/client/pkg/serving/v1/gitops.go +++ b/vendor/knative.dev/client-pkg/pkg/serving/v1/gitops.go @@ -28,7 +28,7 @@ import ( "k8s.io/apimachinery/pkg/util/yaml" "k8s.io/cli-runtime/pkg/genericclioptions" - "knative.dev/client/pkg/wait" + "knative.dev/client-pkg/pkg/wait" servingv1 "knative.dev/serving/pkg/apis/serving/v1" ) diff --git a/vendor/knative.dev/client/pkg/serving/v1alpha1/client.go b/vendor/knative.dev/client-pkg/pkg/serving/v1alpha1/client.go similarity index 98% rename from vendor/knative.dev/client/pkg/serving/v1alpha1/client.go rename to vendor/knative.dev/client-pkg/pkg/serving/v1alpha1/client.go index a69fb4572..6e748ccf4 100644 --- a/vendor/knative.dev/client/pkg/serving/v1alpha1/client.go +++ b/vendor/knative.dev/client-pkg/pkg/serving/v1alpha1/client.go @@ -18,7 +18,7 @@ import ( "context" "fmt" - "knative.dev/client/pkg/config" + "knative.dev/client-pkg/pkg/config" "k8s.io/client-go/util/retry" @@ -26,8 +26,8 @@ import ( v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - knerrors "knative.dev/client/pkg/errors" - "knative.dev/client/pkg/util" + knerrors "knative.dev/client-pkg/pkg/errors" + "knative.dev/client-pkg/pkg/util" servingv1alpha1 "knative.dev/serving/pkg/apis/serving/v1alpha1" "knative.dev/serving/pkg/client/clientset/versioned/scheme" clientv1alpha1 "knative.dev/serving/pkg/client/clientset/versioned/typed/serving/v1alpha1" diff --git a/vendor/knative.dev/client/pkg/sources/v1/apiserver_client.go b/vendor/knative.dev/client-pkg/pkg/sources/v1/apiserver_client.go similarity index 98% rename from vendor/knative.dev/client/pkg/sources/v1/apiserver_client.go rename to vendor/knative.dev/client-pkg/pkg/sources/v1/apiserver_client.go index 09a59d085..f84d3bcff 100644 --- a/vendor/knative.dev/client/pkg/sources/v1/apiserver_client.go +++ b/vendor/knative.dev/client-pkg/pkg/sources/v1/apiserver_client.go @@ -20,8 +20,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - knerrors "knative.dev/client/pkg/errors" - "knative.dev/client/pkg/util" + knerrors "knative.dev/client-pkg/pkg/errors" + "knative.dev/client-pkg/pkg/util" v1 "knative.dev/eventing/pkg/apis/sources/v1" "knative.dev/eventing/pkg/client/clientset/versioned/scheme" diff --git a/vendor/knative.dev/client/pkg/sources/v1/apiserver_client_mock.go b/vendor/knative.dev/client-pkg/pkg/sources/v1/apiserver_client_mock.go similarity index 99% rename from vendor/knative.dev/client/pkg/sources/v1/apiserver_client_mock.go rename to vendor/knative.dev/client-pkg/pkg/sources/v1/apiserver_client_mock.go index be1cee50b..9fffb66ba 100644 --- a/vendor/knative.dev/client/pkg/sources/v1/apiserver_client_mock.go +++ b/vendor/knative.dev/client-pkg/pkg/sources/v1/apiserver_client_mock.go @@ -20,7 +20,7 @@ import ( v1 "knative.dev/eventing/pkg/apis/sources/v1" - "knative.dev/client/pkg/util/mock" + "knative.dev/client-pkg/pkg/util/mock" ) // MockKnAPIServerSourceClient for mocking the client diff --git a/vendor/knative.dev/client/pkg/sources/v1/binding_client.go b/vendor/knative.dev/client-pkg/pkg/sources/v1/binding_client.go similarity index 99% rename from vendor/knative.dev/client/pkg/sources/v1/binding_client.go rename to vendor/knative.dev/client-pkg/pkg/sources/v1/binding_client.go index 0a23cd1b3..fd197dfe9 100644 --- a/vendor/knative.dev/client/pkg/sources/v1/binding_client.go +++ b/vendor/knative.dev/client-pkg/pkg/sources/v1/binding_client.go @@ -28,8 +28,8 @@ import ( duckv1 "knative.dev/pkg/apis/duck/v1" "knative.dev/pkg/tracker" - knerrors "knative.dev/client/pkg/errors" - "knative.dev/client/pkg/util" + knerrors "knative.dev/client-pkg/pkg/errors" + "knative.dev/client-pkg/pkg/util" ) // KnSinkBindingClient to Eventing Sources. All methods are relative to the diff --git a/vendor/knative.dev/client/pkg/sources/v1/binding_client_mock.go b/vendor/knative.dev/client-pkg/pkg/sources/v1/binding_client_mock.go similarity index 99% rename from vendor/knative.dev/client/pkg/sources/v1/binding_client_mock.go rename to vendor/knative.dev/client-pkg/pkg/sources/v1/binding_client_mock.go index c3f0d33a5..ab7948236 100644 --- a/vendor/knative.dev/client/pkg/sources/v1/binding_client_mock.go +++ b/vendor/knative.dev/client-pkg/pkg/sources/v1/binding_client_mock.go @@ -20,7 +20,7 @@ import ( v1 "knative.dev/eventing/pkg/apis/sources/v1" - "knative.dev/client/pkg/util/mock" + "knative.dev/client-pkg/pkg/util/mock" ) // MockKnSinkBindingClient is a combine of test object and recorder diff --git a/vendor/knative.dev/client/pkg/sources/v1/client.go b/vendor/knative.dev/client-pkg/pkg/sources/v1/client.go similarity index 100% rename from vendor/knative.dev/client/pkg/sources/v1/client.go rename to vendor/knative.dev/client-pkg/pkg/sources/v1/client.go diff --git a/vendor/knative.dev/client/pkg/sources/v1/container_client.go b/vendor/knative.dev/client-pkg/pkg/sources/v1/container_client.go similarity index 98% rename from vendor/knative.dev/client/pkg/sources/v1/container_client.go rename to vendor/knative.dev/client-pkg/pkg/sources/v1/container_client.go index 7e9e40815..7aaef5118 100644 --- a/vendor/knative.dev/client/pkg/sources/v1/container_client.go +++ b/vendor/knative.dev/client-pkg/pkg/sources/v1/container_client.go @@ -20,15 +20,15 @@ import ( "context" "fmt" - "knative.dev/client/pkg/config" + "knative.dev/client-pkg/pkg/config" "k8s.io/client-go/util/retry" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - knerrors "knative.dev/client/pkg/errors" - "knative.dev/client/pkg/util" + knerrors "knative.dev/client-pkg/pkg/errors" + "knative.dev/client-pkg/pkg/util" v1 "knative.dev/eventing/pkg/apis/sources/v1" "knative.dev/eventing/pkg/client/clientset/versioned/scheme" clientv1 "knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1" diff --git a/vendor/knative.dev/client/pkg/sources/v1/container_client_mock.go b/vendor/knative.dev/client-pkg/pkg/sources/v1/container_client_mock.go similarity index 99% rename from vendor/knative.dev/client/pkg/sources/v1/container_client_mock.go rename to vendor/knative.dev/client-pkg/pkg/sources/v1/container_client_mock.go index 19a34ae10..59416e61d 100644 --- a/vendor/knative.dev/client/pkg/sources/v1/container_client_mock.go +++ b/vendor/knative.dev/client-pkg/pkg/sources/v1/container_client_mock.go @@ -20,7 +20,7 @@ import ( "context" "testing" - "knative.dev/client/pkg/util/mock" + "knative.dev/client-pkg/pkg/util/mock" v1 "knative.dev/eventing/pkg/apis/sources/v1" ) diff --git a/vendor/knative.dev/client/pkg/sources/v1beta2/client.go b/vendor/knative.dev/client-pkg/pkg/sources/v1beta2/client.go similarity index 100% rename from vendor/knative.dev/client/pkg/sources/v1beta2/client.go rename to vendor/knative.dev/client-pkg/pkg/sources/v1beta2/client.go diff --git a/vendor/knative.dev/client/pkg/sources/v1beta2/ping_client.go b/vendor/knative.dev/client-pkg/pkg/sources/v1beta2/ping_client.go similarity index 98% rename from vendor/knative.dev/client/pkg/sources/v1beta2/ping_client.go rename to vendor/knative.dev/client-pkg/pkg/sources/v1beta2/ping_client.go index 8ae384390..2d0e1e94b 100644 --- a/vendor/knative.dev/client/pkg/sources/v1beta2/ping_client.go +++ b/vendor/knative.dev/client-pkg/pkg/sources/v1beta2/ping_client.go @@ -18,15 +18,15 @@ import ( "context" "fmt" - "knative.dev/client/pkg/config" + "knative.dev/client-pkg/pkg/config" "k8s.io/client-go/util/retry" "k8s.io/apimachinery/pkg/runtime" - "knative.dev/client/pkg/util" + "knative.dev/client-pkg/pkg/util" "knative.dev/eventing/pkg/client/clientset/versioned/scheme" - knerrors "knative.dev/client/pkg/errors" + knerrors "knative.dev/client-pkg/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" sourcesv1beta2 "knative.dev/eventing/pkg/apis/sources/v1beta2" diff --git a/vendor/knative.dev/client/pkg/sources/v1beta2/ping_client_mock.go b/vendor/knative.dev/client-pkg/pkg/sources/v1beta2/ping_client_mock.go similarity index 99% rename from vendor/knative.dev/client/pkg/sources/v1beta2/ping_client_mock.go rename to vendor/knative.dev/client-pkg/pkg/sources/v1beta2/ping_client_mock.go index 44b2c9787..42623f036 100644 --- a/vendor/knative.dev/client/pkg/sources/v1beta2/ping_client_mock.go +++ b/vendor/knative.dev/client-pkg/pkg/sources/v1beta2/ping_client_mock.go @@ -18,7 +18,7 @@ import ( "context" "testing" - "knative.dev/client/pkg/util/mock" + "knative.dev/client-pkg/pkg/util/mock" sourcesv1beta2 "knative.dev/eventing/pkg/apis/sources/v1beta2" ) diff --git a/vendor/knative.dev/client/pkg/util/compare.go b/vendor/knative.dev/client-pkg/pkg/util/compare.go similarity index 100% rename from vendor/knative.dev/client/pkg/util/compare.go rename to vendor/knative.dev/client-pkg/pkg/util/compare.go diff --git a/vendor/knative.dev/client/pkg/util/corev1_helper.go b/vendor/knative.dev/client-pkg/pkg/util/corev1_helper.go similarity index 100% rename from vendor/knative.dev/client/pkg/util/corev1_helper.go rename to vendor/knative.dev/client-pkg/pkg/util/corev1_helper.go diff --git a/vendor/knative.dev/client/pkg/util/logging_http_transport.go b/vendor/knative.dev/client-pkg/pkg/util/logging_http_transport.go similarity index 100% rename from vendor/knative.dev/client/pkg/util/logging_http_transport.go rename to vendor/knative.dev/client-pkg/pkg/util/logging_http_transport.go diff --git a/vendor/knative.dev/client/pkg/util/mock/mock_helper.go b/vendor/knative.dev/client-pkg/pkg/util/mock/mock_helper.go similarity index 100% rename from vendor/knative.dev/client/pkg/util/mock/mock_helper.go rename to vendor/knative.dev/client-pkg/pkg/util/mock/mock_helper.go diff --git a/vendor/knative.dev/client/pkg/util/orderedmap.go b/vendor/knative.dev/client-pkg/pkg/util/orderedmap.go similarity index 100% rename from vendor/knative.dev/client/pkg/util/orderedmap.go rename to vendor/knative.dev/client-pkg/pkg/util/orderedmap.go diff --git a/vendor/knative.dev/client/pkg/util/parsing_helper.go b/vendor/knative.dev/client-pkg/pkg/util/parsing_helper.go similarity index 100% rename from vendor/knative.dev/client/pkg/util/parsing_helper.go rename to vendor/knative.dev/client-pkg/pkg/util/parsing_helper.go diff --git a/vendor/knative.dev/client/pkg/util/schema_handling.go b/vendor/knative.dev/client-pkg/pkg/util/schema_handling.go similarity index 100% rename from vendor/knative.dev/client/pkg/util/schema_handling.go rename to vendor/knative.dev/client-pkg/pkg/util/schema_handling.go diff --git a/vendor/knative.dev/client/lib/test/capture_output.go b/vendor/knative.dev/client-pkg/pkg/util/test/capture_output.go similarity index 100% rename from vendor/knative.dev/client/lib/test/capture_output.go rename to vendor/knative.dev/client-pkg/pkg/util/test/capture_output.go diff --git a/vendor/knative.dev/client/lib/test/cli.go b/vendor/knative.dev/client-pkg/pkg/util/test/cli.go similarity index 100% rename from vendor/knative.dev/client/lib/test/cli.go rename to vendor/knative.dev/client-pkg/pkg/util/test/cli.go diff --git a/vendor/knative.dev/client/lib/test/flags.go b/vendor/knative.dev/client-pkg/pkg/util/test/flags.go similarity index 100% rename from vendor/knative.dev/client/lib/test/flags.go rename to vendor/knative.dev/client-pkg/pkg/util/test/flags.go diff --git a/vendor/knative.dev/client/lib/test/integration.go b/vendor/knative.dev/client-pkg/pkg/util/test/integration.go similarity index 100% rename from vendor/knative.dev/client/lib/test/integration.go rename to vendor/knative.dev/client-pkg/pkg/util/test/integration.go diff --git a/vendor/knative.dev/client/lib/test/result_collector.go b/vendor/knative.dev/client-pkg/pkg/util/test/result_collector.go similarity index 100% rename from vendor/knative.dev/client/lib/test/result_collector.go rename to vendor/knative.dev/client-pkg/pkg/util/test/result_collector.go diff --git a/vendor/knative.dev/client/lib/test/service.go b/vendor/knative.dev/client-pkg/pkg/util/test/service.go similarity index 92% rename from vendor/knative.dev/client/lib/test/service.go rename to vendor/knative.dev/client-pkg/pkg/util/test/service.go index deec4b81d..2bbddca03 100644 --- a/vendor/knative.dev/client/lib/test/service.go +++ b/vendor/knative.dev/client-pkg/pkg/util/test/service.go @@ -25,14 +25,14 @@ import ( corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - clientv1alpha1 "knative.dev/client/pkg/apis/client/v1alpha1" + clientv1alpha1 "knative.dev/client-pkg/pkg/apis/client/v1alpha1" "knative.dev/pkg/ptr" pkgtest "knative.dev/pkg/test" "knative.dev/serving/pkg/apis/config" servingv1 "knative.dev/serving/pkg/apis/serving/v1" servingtest "knative.dev/serving/pkg/testing/v1" - "knative.dev/client/pkg/util" + "knative.dev/client-pkg/pkg/util" ) // ExpectedServiceListOption enables further configuration of a ServiceList. @@ -51,20 +51,6 @@ func ServiceCreate(r *KnRunResultCollector, serviceName string) { assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "service", serviceName, "creating", "namespace", r.KnTest().Kn().Namespace(), "ready")) } -// ServiceCreate verifies given service creation async mode and also verifies output -func ServiceCreateNoWait(r *KnRunResultCollector, serviceName string) { - out := r.KnTest().Kn().Run("service", "create", serviceName, "--no-wait", "--image", pkgtest.ImagePath("helloworld")) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "service", serviceName, "created", "namespace", r.KnTest().Kn().Namespace())) -} - -// ServiceWait waits for service to be ready and also verifies output -func ServiceWait(r *KnRunResultCollector, serviceName string) { - out := r.KnTest().Kn().Run("service", "wait", serviceName) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "service", serviceName, "ready", "namespace", r.KnTest().Kn().Namespace())) -} - // ServiceListEmpty verifies that there are no services present func ServiceListEmpty(r *KnRunResultCollector) { out := r.KnTest().Kn().Run("service", "list") diff --git a/vendor/knative.dev/client/lib/test/utils.go b/vendor/knative.dev/client-pkg/pkg/util/test/utils.go similarity index 100% rename from vendor/knative.dev/client/lib/test/utils.go rename to vendor/knative.dev/client-pkg/pkg/util/test/utils.go diff --git a/vendor/knative.dev/client/pkg/util/unstructured.go b/vendor/knative.dev/client-pkg/pkg/util/unstructured.go similarity index 100% rename from vendor/knative.dev/client/pkg/util/unstructured.go rename to vendor/knative.dev/client-pkg/pkg/util/unstructured.go diff --git a/vendor/knative.dev/client/pkg/wait/poll_watcher.go b/vendor/knative.dev/client-pkg/pkg/wait/poll_watcher.go similarity index 100% rename from vendor/knative.dev/client/pkg/wait/poll_watcher.go rename to vendor/knative.dev/client-pkg/pkg/wait/poll_watcher.go diff --git a/vendor/knative.dev/client/pkg/wait/test_wait_helper.go b/vendor/knative.dev/client-pkg/pkg/wait/test_wait_helper.go similarity index 100% rename from vendor/knative.dev/client/pkg/wait/test_wait_helper.go rename to vendor/knative.dev/client-pkg/pkg/wait/test_wait_helper.go diff --git a/vendor/knative.dev/client/pkg/wait/wait_for_ready.go b/vendor/knative.dev/client-pkg/pkg/wait/wait_for_ready.go similarity index 100% rename from vendor/knative.dev/client/pkg/wait/wait_for_ready.go rename to vendor/knative.dev/client-pkg/pkg/wait/wait_for_ready.go diff --git a/vendor/knative.dev/client/LICENSE b/vendor/knative.dev/client/LICENSE deleted file mode 100644 index 261eeb9e9..000000000 --- a/vendor/knative.dev/client/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/knative.dev/client/lib/test/broker.go b/vendor/knative.dev/client/lib/test/broker.go deleted file mode 100644 index 83ddf9dff..000000000 --- a/vendor/knative.dev/client/lib/test/broker.go +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2020 The Knative Authors - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at - -// http://www.apache.org/licenses/LICENSE-2.0 - -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or im -// See the License for the specific language governing permissions and -// limitations under the License. - -package test - -import ( - "strings" - "time" - - "gotest.tools/v3/assert" - "knative.dev/client/pkg/util" - - "k8s.io/apimachinery/pkg/util/wait" - eventingv1 "knative.dev/eventing/pkg/apis/eventing/v1" -) - -// BrokerCreate creates a broker with the given name. -func BrokerCreate(r *KnRunResultCollector, name string) { - out := r.KnTest().Kn().Run("broker", "create", name) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "Broker", name, "created", "namespace", r.KnTest().Kn().Namespace())) -} - -// BrokerCreateWithClass creates a broker with the given name and class. -func BrokerCreateWithClass(r *KnRunResultCollector, name, class string) { - out := r.KnTest().Kn().Run("broker", "create", name, "--class", class) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "Broker", name, "created", "namespace", r.KnTest().Kn().Namespace())) -} - -// BrokerDelete deletes a broker with the given name. -func BrokerDelete(r *KnRunResultCollector, name string, wait bool) { - args := []string{"broker", "delete", name} - if wait { - args = append(args, "--wait") - } - out := r.KnTest().Kn().Run(args...) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "Broker", name, "deleted", "namespace", r.KnTest().Kn().Namespace())) -} - -// LabelNamespaceForDefaultBroker adds label 'knative-eventing-injection=enabled' to the configured namespace -func LabelNamespaceForDefaultBroker(r *KnRunResultCollector) error { - cmd := []string{"label", "namespace", r.KnTest().Kn().Namespace(), eventingv1.InjectionAnnotation + "=enabled"} - _, err := Kubectl{}.Run(cmd...) - - if err != nil { - r.T().Fatalf("error executing '%s': %s", strings.Join(cmd, " "), err.Error()) - } - - return wait.PollImmediate(10*time.Second, 5*time.Minute, func() (bool, error) { - out, err := NewKubectl(r.KnTest().Kn().Namespace()).Run("get", "broker", "-o=jsonpath='{.items[0].status.conditions[?(@.type==\"Ready\")].status}'") - if err != nil { - return false, nil - } - - return strings.Contains(out, "True"), nil - }) -} - -// UnlabelNamespaceForDefaultBroker removes label 'knative-eventing-injection=enabled' from the configured namespace -func UnlabelNamespaceForDefaultBroker(r *KnRunResultCollector) { - cmd := []string{"label", "namespace", r.KnTest().Kn().Namespace(), eventingv1.InjectionAnnotation + "-"} - _, err := Kubectl{}.Run(cmd...) - if err != nil { - r.T().Fatalf("error executing '%s': %s", strings.Join(cmd, " "), err.Error()) - } -} diff --git a/vendor/knative.dev/client/lib/test/channel.go b/vendor/knative.dev/client/lib/test/channel.go deleted file mode 100644 index dae8f3545..000000000 --- a/vendor/knative.dev/client/lib/test/channel.go +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2020 The Knative Authors - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at - -// http://www.apache.org/licenses/LICENSE-2.0 - -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or im -// See the License for the specific language governing permissions and -// limitations under the License. - -package test - -import ( - "time" - - "gotest.tools/v3/assert" - - "knative.dev/client/pkg/util" -) - -func ChannelCreate(r *KnRunResultCollector, cname string, args ...string) { - cmd := []string{"channel", "create", cname} - cmd = append(cmd, args...) - out := r.KnTest().Kn().Run(cmd...) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "channel", cname, "created")) - // let channel reconcile TODO: fix the wait for channel to become ready - time.Sleep(5 * time.Second) -} - -func ChannelList(r *KnRunResultCollector, args ...string) string { - cmd := []string{"channel", "list"} - cmd = append(cmd, args...) - out := r.KnTest().Kn().Run(cmd...) - r.AssertNoError(out) - return out.Stdout -} - -func ChannelDescribe(r *KnRunResultCollector, cname string, args ...string) string { - cmd := []string{"channel", "describe", cname} - cmd = append(cmd, args...) - out := r.KnTest().Kn().Run(cmd...) - r.AssertNoError(out) - return out.Stdout -} - -func ChannelDelete(r *KnRunResultCollector, cname string) { - out := r.KnTest().Kn().Run("channel", "delete", cname) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "channel", cname, "deleted")) -} - -// ChannelListTypes return available channel types -func ChannelListTypes(r *KnRunResultCollector, args ...string) string { - cmd := []string{"channel", "list-types"} - cmd = append(cmd, args...) - out := r.KnTest().Kn().Run(cmd...) - r.AssertNoError(out) - return out.Stdout -} diff --git a/vendor/knative.dev/client/lib/test/eventtype.go b/vendor/knative.dev/client/lib/test/eventtype.go deleted file mode 100644 index 8c2cb4843..000000000 --- a/vendor/knative.dev/client/lib/test/eventtype.go +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2021 The Knative Authors - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at - -// http://www.apache.org/licenses/LICENSE-2.0 - -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package test - -import ( - "gotest.tools/v3/assert" - "knative.dev/client/pkg/util" -) - -// EventtypeCreate creates an eventtype with the given name. -func EventtypeCreate(r *KnRunResultCollector, name, cetype string) { - out := r.KnTest().Kn().Run("eventtype", "create", name, "--type", cetype) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "Eventtype", name, "created", "namespace", r.KnTest().Kn().Namespace())) -} - -// EventtypeDelete deletes an eventtype with the given name. -func EventtypeDelete(r *KnRunResultCollector, name string) { - out := r.KnTest().Kn().Run("eventtype", "delete", name) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "Eventtype", name, "deleted", "namespace", r.KnTest().Kn().Namespace())) -} - -// EventtypeList verifies listing eventtypes in the given namespace -func EventtypeList(r *KnRunResultCollector, eventtypes ...string) { - out := r.KnTest().Kn().Run("eventtype", "list") - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, eventtypes...)) -} - -// EventtypeDescribe describes an eventtype with the given name. -func EventtypeDescribe(r *KnRunResultCollector, name string) { - out := r.KnTest().Kn().Run("eventtype", "describe", name) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAll(out.Stdout, name, r.KnTest().Kn().Namespace(), "Ready", "BrokerReady")) -} - -func EventtypeCreateWithBrokerSource(r *KnRunResultCollector, name, cetype, broker, source string) { - out := r.KnTest().Kn().Run("eventtype", "create", name, "--type", cetype, "--broker", broker, "--source", source) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "Eventtype", name, "created", "namespace", r.KnTest().Kn().Namespace())) -} - -func EventtypeCreateWithSourceError(r *KnRunResultCollector, name, cetype, source string) { - out := r.KnTest().Kn().Run("eventtype", "create", name, "--type", cetype, "--source", source) - r.AssertError(out) - assert.Check(r.T(), util.ContainsAll(out.Stderr, name, "invalid", "control character")) -} diff --git a/vendor/knative.dev/client/lib/test/revision.go b/vendor/knative.dev/client/lib/test/revision.go deleted file mode 100644 index 7d389655a..000000000 --- a/vendor/knative.dev/client/lib/test/revision.go +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright 2020 The Knative Authors - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at - -// http://www.apache.org/licenses/LICENSE-2.0 - -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package test - -import ( - "fmt" - "strconv" - "strings" - - "gotest.tools/v3/assert" - "knative.dev/client/pkg/util" -) - -// RevisionListForService list revisions of given service and verifies if their status is True -func RevisionListForService(r *KnRunResultCollector, serviceName string) { - out := r.KnTest().Kn().Run("revision", "list", "-s", serviceName) - r.AssertNoError(out) - outputLines := strings.Split(out.Stdout, "\n") - // Ignore the last line because it is an empty string caused by splitting a line break - // at the end of the output string - for _, line := range outputLines[1 : len(outputLines)-1] { - // The last item is the revision status, which should be ready - assert.Check(r.T(), util.ContainsAll(line, " "+serviceName+" ", "True")) - } -} - -// RevisionDescribe verifies revision describe output for given service's revision -func RevisionDescribe(r *KnRunResultCollector, serviceName string) { - revName := FindRevision(r, serviceName) - - out := r.KnTest().Kn().Run("revision", "describe", revName) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAll(out.Stdout, revName, r.KnTest().Kn().Namespace(), serviceName, "++ Ready", "TARGET=kn")) -} - -// RevisionDelete verifies deleting given revision in sync mode -func RevisionDelete(r *KnRunResultCollector, revName string) { - out := r.KnTest().Kn().Run("revision", "delete", "--wait", revName) - assert.Check(r.T(), util.ContainsAll(out.Stdout, "Revision", revName, "deleted", "namespace", r.KnTest().Kn().Namespace())) - r.AssertNoError(out) -} - -// RevisionMultipleDelete verifies deleting multiple revisions -func RevisionMultipleDelete(r *KnRunResultCollector, existRevision1, existRevision2, nonexistRevision string) { - out := r.KnTest().Kn().Run("revision", "list") - r.AssertNoError(out) - assert.Check(r.T(), strings.Contains(out.Stdout, existRevision1), "Required revision1 does not exist") - assert.Check(r.T(), strings.Contains(out.Stdout, existRevision2), "Required revision2 does not exist") - - out = r.KnTest().Kn().Run("revision", "delete", existRevision1, existRevision2, nonexistRevision) - r.AssertError(out) - - assert.Check(r.T(), util.ContainsAll(out.Stdout, "Revision", existRevision1, "deleted", "namespace", r.KnTest().Kn().Namespace()), "Failed to get 'deleted' first revision message") - assert.Check(r.T(), util.ContainsAll(out.Stdout, "Revision", existRevision2, "deleted", "namespace", r.KnTest().Kn().Namespace()), "Failed to get 'deleted' second revision message") - assert.Check(r.T(), util.ContainsAll(out.Stderr, "revisions.serving.knative.dev", nonexistRevision, "not found"), "Failed to get 'not found' error") -} - -// RevisionDescribeWithPrintFlags verifies describing given revision using print flag '--output=name' -func RevisionDescribeWithPrintFlags(r *KnRunResultCollector, revName string) { - out := r.KnTest().Kn().Run("revision", "describe", revName, "-o=name") - r.AssertNoError(out) - expectedName := fmt.Sprintf("revision.serving.knative.dev/%s", revName) - assert.Equal(r.T(), strings.TrimSpace(out.Stdout), expectedName) -} - -// FindRevision returns a revision name (at index 0) for given service -func FindRevision(r *KnRunResultCollector, serviceName string) string { - out := r.KnTest().Kn().Run("revision", "list", "-s", serviceName, "-o=jsonpath={.items[0].metadata.name}") - r.AssertNoError(out) - if strings.Contains(out.Stdout, "No resources") { - r.T().Errorf("Could not find revision name.") - } - return out.Stdout -} - -// FindRevisionByGeneration returns a revision name for given revision at given generation number -func FindRevisionByGeneration(r *KnRunResultCollector, serviceName string, generation int) string { - maxGen := FindConfigurationGeneration(r, serviceName) - out := r.KnTest().Kn().Run("revision", "list", "-s", serviceName, - fmt.Sprintf("-o=jsonpath={.items[%d].metadata.name}", maxGen-generation)) - r.AssertNoError(out) - if strings.Contains(out.Stdout, "No resources found.") { - r.T().Errorf("Could not find revision name.") - } - return out.Stdout -} - -// FindConfigurationGeneration returns the configuration generation number of given service -func FindConfigurationGeneration(r *KnRunResultCollector, serviceName string) int { - out := r.KnTest().Kn().Run("revision", "list", "-s", serviceName, "-o=jsonpath={.items[0].metadata.labels.serving\\.knative\\.dev/configurationGeneration}") - r.AssertNoError(out) - if out.Stdout == "" { - r.T().Errorf("Could not find configuration generation.") - } - confGen, err := strconv.Atoi(out.Stdout) - if err != nil { - r.T().Errorf("Invalid type of configuration generation: %s", err) - } - - return confGen -} - -// RevisionListOutputName verifies listing given revision using print flag '--output name' -func RevisionListOutputName(r *KnRunResultCollector, revisionName string) { - out := r.KnTest().Kn().Run("revision", "list", "--output", "name") - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAll(out.Stdout, revisionName, "revision.serving.knative.dev")) -} - -// RevisionListWithService verifies listing revisions per service from each given service names -func RevisionListWithService(r *KnRunResultCollector, serviceNames ...string) { - for _, svcName := range serviceNames { - confGen := FindConfigurationGeneration(r, svcName) - out := r.KnTest().Kn().Run("revision", "list", "-s", svcName) - r.AssertNoError(out) - - outputLines := strings.Split(out.Stdout, "\n") - // Ignore the last line because it is an empty string caused by splitting a line break - // at the end of the output string - for _, line := range outputLines[1 : len(outputLines)-1] { - revName := FindRevisionByGeneration(r, svcName, confGen) - assert.Check(r.T(), util.ContainsAll(line, revName, svcName, strconv.Itoa(confGen))) - confGen-- - } - if r.T().Failed() { - r.AddDump("service", svcName, r.KnTest().Kn().Namespace()) - } - } -} - -// RevisionDeleteWithPruneOption verifies removeing all unreferenced revisions for a given service in sync mode -func RevisionDeleteWithPruneOption(r *KnRunResultCollector, serviceName, revName string) { - out := r.KnTest().Kn().Run("revision", "delete", "--prune", serviceName) - assert.Check(r.T(), util.ContainsAll(out.Stdout, "Revision", "deleted", revName, "namespace", r.KnTest().Kn().Namespace())) - r.AssertNoError(out) -} - -// RevisionDeleteWithPruneAllOption verifies removeing all unreferenced revision in sync mode -func RevisionDeleteWithPruneAllOption(r *KnRunResultCollector, revName1, revName2 string) { - out := r.KnTest().Kn().Run("revision", "delete", "--prune-all") - assert.Check(r.T(), util.ContainsAll(out.Stdout, "Revision", "deleted", revName1, revName1, "namespace", r.KnTest().Kn().Namespace())) - r.AssertNoError(out) -} diff --git a/vendor/knative.dev/client/lib/test/subscription.go b/vendor/knative.dev/client/lib/test/subscription.go deleted file mode 100644 index 537e2f418..000000000 --- a/vendor/knative.dev/client/lib/test/subscription.go +++ /dev/null @@ -1,67 +0,0 @@ -/* -Copyright 2020 The Knative Authors - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package test - -import ( - "time" - - "gotest.tools/v3/assert" - - "knative.dev/client/pkg/util" -) - -func SubscriptionCreate(r *KnRunResultCollector, sname string, args ...string) { - cmd := []string{"subscription", "create", sname} - cmd = append(cmd, args...) - out := r.KnTest().Kn().Run(cmd...) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "subscription", sname, "created")) - // let the subscription and related resource reconcile - time.Sleep(time.Second * 5) -} - -func SubscriptionList(r *KnRunResultCollector, args ...string) string { - cmd := []string{"subscription", "list"} - cmd = append(cmd, args...) - out := r.KnTest().Kn().Run(cmd...) - r.AssertNoError(out) - return out.Stdout -} - -func SubscriptionDescribe(r *KnRunResultCollector, sname string, args ...string) string { - cmd := []string{"subscription", "describe", sname} - cmd = append(cmd, args...) - out := r.KnTest().Kn().Run(cmd...) - r.AssertNoError(out) - return out.Stdout -} - -func SubscriptionDelete(r *KnRunResultCollector, sname string) { - out := r.KnTest().Kn().Run("subscription", "delete", sname) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "subscription", sname, "deleted")) -} - -func SubscriptionUpdate(r *KnRunResultCollector, sname string, args ...string) { - cmd := []string{"subscription", "update", sname} - cmd = append(cmd, args...) - out := r.KnTest().Kn().Run(cmd...) - r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "subscription", sname, "updated")) - // let the subscription and related resource reconcile - time.Sleep(time.Second * 5) -} diff --git a/vendor/knative.dev/client/pkg/eventing/v1/client_mock.go b/vendor/knative.dev/client/pkg/eventing/v1/client_mock.go deleted file mode 100644 index e8cea8559..000000000 --- a/vendor/knative.dev/client/pkg/eventing/v1/client_mock.go +++ /dev/null @@ -1,183 +0,0 @@ -// Copyright © 2019 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package v1 - -import ( - "context" - "testing" - "time" - - eventingv1 "knative.dev/eventing/pkg/apis/eventing/v1" - - "knative.dev/client/pkg/util/mock" -) - -// MockKnEventingClient is a combine of test object and recorder -type MockKnEventingClient struct { - t *testing.T - recorder *EventingRecorder -} - -// NewMockKnEventingClient returns a new mock instance which you need to record for -func NewMockKnEventingClient(t *testing.T, ns ...string) *MockKnEventingClient { - namespace := "default" - if len(ns) > 0 { - namespace = ns[0] - } - return &MockKnEventingClient{ - t: t, - recorder: &EventingRecorder{mock.NewRecorder(t, namespace)}, - } -} - -// Ensure that the interface is implemented -var _ KnEventingClient = &MockKnEventingClient{} - -// EventingRecorder is recorder for eventing objects -type EventingRecorder struct { - r *mock.Recorder -} - -// Recorder returns the recorder for registering API calls -func (c *MockKnEventingClient) Recorder() *EventingRecorder { - return c.recorder -} - -// Namespace of this client -func (c *MockKnEventingClient) Namespace() string { - return c.recorder.r.Namespace() -} - -// CreateTrigger records a call for CreatePingSource with the expected error -func (sr *EventingRecorder) CreateTrigger(trigger interface{}, err error) { - sr.r.Add("CreateTrigger", []interface{}{trigger}, []interface{}{err}) -} - -// CreateTrigger performs a previously recorded action -func (c *MockKnEventingClient) CreateTrigger(ctx context.Context, trigger *eventingv1.Trigger) error { - call := c.recorder.r.VerifyCall("CreateTrigger", trigger) - return mock.ErrorOrNil(call.Result[0]) -} - -// GetTrigger records a call for GetTrigger with the expected object or error. Either trigger or err should be nil -func (sr *EventingRecorder) GetTrigger(name interface{}, trigger *eventingv1.Trigger, err error) { - sr.r.Add("GetTrigger", []interface{}{name}, []interface{}{trigger, err}) -} - -// GetTrigger performs a previously recorded action -func (c *MockKnEventingClient) GetTrigger(ctx context.Context, name string) (*eventingv1.Trigger, error) { - call := c.recorder.r.VerifyCall("GetTrigger", name) - return call.Result[0].(*eventingv1.Trigger), mock.ErrorOrNil(call.Result[1]) -} - -// DeleteTrigger records a call for DeleteTrigger with the expected error (nil if none) -func (sr *EventingRecorder) DeleteTrigger(name interface{}, err error) { - sr.r.Add("DeleteTrigger", []interface{}{name}, []interface{}{err}) -} - -// DeleteTrigger performs a previously recorded action, failing if non has been registered -func (c *MockKnEventingClient) DeleteTrigger(ctx context.Context, name string) error { - call := c.recorder.r.VerifyCall("DeleteTrigger", name) - return mock.ErrorOrNil(call.Result[0]) -} - -// ListTriggers records a call for ListTriggers with the expected result and error (nil if none) -func (sr *EventingRecorder) ListTriggers(triggerList *eventingv1.TriggerList, err error) { - sr.r.Add("ListTriggers", nil, []interface{}{triggerList, err}) -} - -// ListTriggers performs a previously recorded action -func (c *MockKnEventingClient) ListTriggers(context.Context) (*eventingv1.TriggerList, error) { - call := c.recorder.r.VerifyCall("ListTriggers") - return call.Result[0].(*eventingv1.TriggerList), mock.ErrorOrNil(call.Result[1]) -} - -// UpdateTrigger records a call for UpdateTrigger with the expected result and error (nil if none) -func (sr *EventingRecorder) UpdateTrigger(trigger interface{}, err error) { - sr.r.Add("UpdateTrigger", []interface{}{trigger}, []interface{}{err}) -} - -// UpdateTrigger performs a previously recorded action -func (c *MockKnEventingClient) UpdateTrigger(ctx context.Context, trigger *eventingv1.Trigger) error { - call := c.recorder.r.VerifyCall("UpdateTrigger") - return mock.ErrorOrNil(call.Result[0]) -} - -func (c *MockKnEventingClient) UpdateTriggerWithRetry(ctx context.Context, name string, updateFunc TriggerUpdateFunc, nrRetries int) error { - return updateTriggerWithRetry(ctx, c, name, updateFunc, nrRetries) -} - -// CreateBroker records a call for CreateBroker with the expected error -func (sr *EventingRecorder) CreateBroker(broker interface{}, err error) { - sr.r.Add("CreateBroker", []interface{}{broker}, []interface{}{err}) -} - -// CreateBroker performs a previously recorded action -func (c *MockKnEventingClient) CreateBroker(ctx context.Context, broker *eventingv1.Broker) error { - call := c.recorder.r.VerifyCall("CreateBroker", broker) - return mock.ErrorOrNil(call.Result[0]) -} - -// GetBroker records a call for GetBroker with the expected object or error. Either trigger or err should be nil -func (sr *EventingRecorder) GetBroker(name interface{}, broker *eventingv1.Broker, err error) { - sr.r.Add("GetBroker", []interface{}{name}, []interface{}{broker, err}) -} - -// GetBroker performs a previously recorded action -func (c *MockKnEventingClient) GetBroker(ctx context.Context, name string) (*eventingv1.Broker, error) { - call := c.recorder.r.VerifyCall("GetBroker", name) - return call.Result[0].(*eventingv1.Broker), mock.ErrorOrNil(call.Result[1]) -} - -// DeleteBroker records a call for DeleteBroker with the expected error (nil if none) -func (sr *EventingRecorder) DeleteBroker(name, timeout interface{}, err error) { - sr.r.Add("DeleteBroker", []interface{}{name, timeout}, []interface{}{err}) -} - -// DeleteBroker performs a previously recorded action, failing if non has been registered -func (c *MockKnEventingClient) DeleteBroker(ctx context.Context, name string, timeout time.Duration) error { - call := c.recorder.r.VerifyCall("DeleteBroker", name, timeout) - return mock.ErrorOrNil(call.Result[0]) -} - -// ListBrokers records a call for ListBrokers with the expected result and error (nil if none) -func (sr *EventingRecorder) ListBrokers(brokerList *eventingv1.BrokerList, err error) { - sr.r.Add("ListBrokers", nil, []interface{}{brokerList, err}) -} - -// ListBrokers performs a previously recorded action -func (c *MockKnEventingClient) ListBrokers(context.Context) (*eventingv1.BrokerList, error) { - call := c.recorder.r.VerifyCall("ListBrokers") - return call.Result[0].(*eventingv1.BrokerList), mock.ErrorOrNil(call.Result[1]) -} - -// UpdateBroker records a call for UpdateBroker with the expected result and error (nil if none) -func (sr *EventingRecorder) UpdateBroker(broker *eventingv1.Broker, err error) { - sr.r.Add("UpdateBroker", []interface{}{broker}, []interface{}{err}) -} - -func (c *MockKnEventingClient) UpdateBroker(ctx context.Context, broker *eventingv1.Broker) error { - call := c.recorder.r.VerifyCall("UpdateBroker") - return mock.ErrorOrNil(call.Result[0]) -} - -func (c *MockKnEventingClient) UpdateBrokerWithRetry(ctx context.Context, name string, updateFunc BrokerUpdateFunc, nrRetries int) error { - return updateBrokerWithRetry(ctx, c, name, updateFunc, nrRetries) -} - -// Validate validates whether every recorded action has been called -func (sr *EventingRecorder) Validate() { - sr.r.CheckThatAllRecordedMethodsHaveBeenCalled() -} diff --git a/vendor/knative.dev/client/pkg/eventing/v1beta1/client_mock.go b/vendor/knative.dev/client/pkg/eventing/v1beta1/client_mock.go deleted file mode 100644 index 24d2ffcc6..000000000 --- a/vendor/knative.dev/client/pkg/eventing/v1beta1/client_mock.go +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright © 2022 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package v1beta1 - -import ( - "context" - "testing" - - eventingv1beta1 "knative.dev/eventing/pkg/apis/eventing/v1beta1" - - "knative.dev/client/pkg/util/mock" -) - -// MockKnEventingV1beta1Client is a combine of test object and recorder -type MockKnEventingV1beta1Client struct { - t *testing.T - recorder *EventingV1beta1Recorder -} - -// NewMockKnEventingV1beta1Client returns a new mock instance which you need to record for -func NewMockKnEventingV1beta1Client(t *testing.T, ns ...string) *MockKnEventingV1beta1Client { - namespace := "default" - if len(ns) > 0 { - namespace = ns[0] - } - return &MockKnEventingV1beta1Client{ - t: t, - recorder: &EventingV1beta1Recorder{mock.NewRecorder(t, namespace)}, - } -} - -// Ensure that the interface is implemented -var _ KnEventingV1Beta1Client = &MockKnEventingV1beta1Client{} - -// EventingV1beta1Recorder is recorder for eventingv1beta1 objects -type EventingV1beta1Recorder struct { - r *mock.Recorder -} - -// Recorder returns the recorder for registering API calls -func (c *MockKnEventingV1beta1Client) Recorder() *EventingV1beta1Recorder { - return c.recorder -} - -// Namespace of this client -func (c *MockKnEventingV1beta1Client) Namespace() string { - return c.recorder.r.Namespace() -} - -// ListEventtypes records a call for ListEventtypes with the expected result and error (nil if none) -func (sr *EventingV1beta1Recorder) ListEventtypes(eventtypeList *eventingv1beta1.EventTypeList, err error) { - sr.r.Add("ListEventtypes", nil, []interface{}{eventtypeList, err}) -} - -func (c *MockKnEventingV1beta1Client) ListEventtypes(ctx context.Context) (*eventingv1beta1.EventTypeList, error) { - call := c.recorder.r.VerifyCall("ListEventtypes") - return call.Result[0].(*eventingv1beta1.EventTypeList), mock.ErrorOrNil(call.Result[1]) -} - -// GetEventtype records a call for GetEventtype with the expected result and error (nil if none) -func (sr *EventingV1beta1Recorder) GetEventtype(name string, eventtype *eventingv1beta1.EventType, err error) { - sr.r.Add("GetEventtype", []interface{}{name}, []interface{}{eventtype, err}) -} - -// GetEventtypes records a call for GetEventtype with the expected object or error. Either eventtype or err should be nil -func (c *MockKnEventingV1beta1Client) GetEventtype(ctx context.Context, name string) (*eventingv1beta1.EventType, error) { - call := c.recorder.r.VerifyCall("GetEventtype", name) - return call.Result[0].(*eventingv1beta1.EventType), mock.ErrorOrNil(call.Result[1]) -} - -// CreateEventtype records a call for CreateEventtype with the expected error -func (sr *EventingV1beta1Recorder) CreateEventtype(eventtype interface{}, err error) { - sr.r.Add("CreateEventtype", []interface{}{eventtype}, []interface{}{err}) -} - -func (c *MockKnEventingV1beta1Client) CreateEventtype(ctx context.Context, eventtype *eventingv1beta1.EventType) error { - call := c.recorder.r.VerifyCall("CreateEventtype", eventtype) - return mock.ErrorOrNil(call.Result[0]) -} - -// DeleteEventtype records a call for DeleteEventtype with the expected error -func (sr *EventingV1beta1Recorder) DeleteEventtype(name interface{}, err error) { - sr.r.Add("DeleteEventtype", []interface{}{name}, []interface{}{err}) -} - -func (c *MockKnEventingV1beta1Client) DeleteEventtype(ctx context.Context, name string) error { - call := c.recorder.r.VerifyCall("DeleteEventtype", name) - return mock.ErrorOrNil(call.Result[0]) -} - -// Validate validates whether every recorded action has been called -func (sr *EventingV1beta1Recorder) Validate() { - sr.r.CheckThatAllRecordedMethodsHaveBeenCalled() -} diff --git a/vendor/knative.dev/client/pkg/kn/commands/completion_helper.go b/vendor/knative.dev/client/pkg/kn/commands/completion_helper.go deleted file mode 100644 index 82b6eef75..000000000 --- a/vendor/knative.dev/client/pkg/kn/commands/completion_helper.go +++ /dev/null @@ -1,458 +0,0 @@ -// Copyright © 2021 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package commands - -import ( - "strings" - - "github.com/spf13/cobra" -) - -type completionConfig struct { - params *KnParams - command *cobra.Command - args []string - toComplete string -} - -var ( - resourceToFuncMap = map[string]func(config *completionConfig) []string{ - "apiserver": completeApiserverSource, - "binding": completeBindingSource, - "broker": completeBroker, - "channel": completeChannel, - "container": completeContainerSource, - "domain": completeDomain, - "ping": completePingSource, - "revision": completeRevision, - "route": completeRoute, - "service": completeService, - "subscription": completeSubscription, - "trigger": completeTrigger, - "eventtype": completeEventtype, - } -) - -// ResourceNameCompletionFunc will return a function that will autocomplete the name of -// the resource based on the subcommand -func ResourceNameCompletionFunc(p *KnParams) func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { - return func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { - - var use string - if cmd.Parent() != nil { - use = cmd.Parent().Name() - } - config := completionConfig{ - p, - cmd, - args, - toComplete, - } - return config.getCompletion(use), cobra.ShellCompDirectiveNoFileComp - } -} - -func (config *completionConfig) getCompletion(parent string) []string { - completionFunc := resourceToFuncMap[parent] - if completionFunc == nil { - return []string{} - } - return completionFunc(config) -} - -func getTargetFlagValue(cmd *cobra.Command) string { - flag := cmd.Flag("target") - if flag == nil { - return "" - } - return flag.Value.String() -} - -func completeGitOps(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - client, err := config.params.NewGitopsServingClient(namespace, getTargetFlagValue(config.command)) - if err != nil { - return - } - serviceList, err := client.ListServices(config.command.Context()) - if err != nil { - return - } - for _, sug := range serviceList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completeService(config *completionConfig) (suggestions []string) { - if getTargetFlagValue(config.command) != "" { - return completeGitOps(config) - } - - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - client, err := config.params.NewServingClient(namespace) - if err != nil { - return - } - serviceList, err := client.ListServices(config.command.Context()) - if err != nil { - return - } - for _, sug := range serviceList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completeBroker(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - client, err := config.params.NewEventingClient(namespace) - if err != nil { - return - } - brokerList, err := client.ListBrokers(config.command.Context()) - if err != nil { - return - } - for _, sug := range brokerList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completeRevision(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - client, err := config.params.NewServingClient(namespace) - if err != nil { - return - } - revisionList, err := client.ListRevisions(config.command.Context()) - if err != nil { - return - } - for _, sug := range revisionList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completeRoute(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - client, err := config.params.NewServingClient(namespace) - if err != nil { - return - } - routeList, err := client.ListRoutes(config.command.Context()) - if err != nil { - return - } - for _, sug := range routeList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completeDomain(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - client, err := config.params.NewServingV1alpha1Client(namespace) - if err != nil { - return - } - domainMappingList, err := client.ListDomainMappings(config.command.Context()) - if err != nil { - return - } - for _, sug := range domainMappingList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completeTrigger(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - client, err := config.params.NewEventingClient(namespace) - if err != nil { - return - } - triggerList, err := client.ListTriggers(config.command.Context()) - if err != nil { - return - } - for _, sug := range triggerList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completeContainerSource(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - client, err := config.params.NewSourcesClient(namespace) - if err != nil { - return - } - containerSourceList, err := client.ContainerSourcesClient().ListContainerSources(config.command.Context()) - if err != nil { - return - } - for _, sug := range containerSourceList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completeApiserverSource(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - client, err := config.params.NewSourcesClient(namespace) - if err != nil { - return - } - apiServerSourceList, err := client.APIServerSourcesClient().ListAPIServerSource(config.command.Context()) - if err != nil { - return - } - for _, sug := range apiServerSourceList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completeBindingSource(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - client, err := config.params.NewSourcesClient(namespace) - if err != nil { - return - } - bindingList, err := client.SinkBindingClient().ListSinkBindings(config.command.Context()) - if err != nil { - return - } - for _, sug := range bindingList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completePingSource(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - - client, err := config.params.NewSourcesV1beta2Client(namespace) - if err != nil { - return - } - pingSourcesClient := client.PingSourcesClient() - - pingSourceList, err := pingSourcesClient.ListPingSource(config.command.Context()) - if err != nil { - return - } - for _, sug := range pingSourceList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completeChannel(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - - client, err := config.params.NewMessagingClient(namespace) - if err != nil { - return - } - - channelList, err := client.ChannelsClient().ListChannel(config.command.Context()) - if err != nil { - return - } - for _, sug := range channelList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completeSubscription(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - - client, err := config.params.NewMessagingClient(namespace) - if err != nil { - return - } - - subscriptionList, err := client.SubscriptionsClient().ListSubscription(config.command.Context()) - if err != nil { - return - } - for _, sug := range subscriptionList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} - -func completeEventtype(config *completionConfig) (suggestions []string) { - suggestions = make([]string, 0) - if len(config.args) != 0 { - return - } - namespace, err := config.params.GetNamespace(config.command) - if err != nil { - return - } - - client, err := config.params.NewEventingV1beta1Client(namespace) - if err != nil { - return - } - - eventTypeList, err := client.ListEventtypes(config.command.Context()) - if err != nil { - return - } - for _, sug := range eventTypeList.Items { - if !strings.HasPrefix(sug.Name, config.toComplete) { - continue - } - suggestions = append(suggestions, sug.Name) - } - return -} diff --git a/vendor/knative.dev/client/pkg/kn/commands/flags/eventtype.go b/vendor/knative.dev/client/pkg/kn/commands/flags/eventtype.go deleted file mode 100644 index 353383302..000000000 --- a/vendor/knative.dev/client/pkg/kn/commands/flags/eventtype.go +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright © 2022 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package flags - -import "github.com/spf13/cobra" - -type EventtypeFlags struct { - Type string - Source string - Broker string -} - -func (e *EventtypeFlags) Add(cmd *cobra.Command) { - cmd.Flags().StringVarP(&e.Type, "type", "t", "", "Cloud Event type") - cmd.Flags().StringVar(&e.Source, "source", "", "Cloud Event source") - cmd.Flags().StringVarP(&e.Broker, "broker", "b", "", "Cloud Event broker") - cmd.MarkFlagRequired("type") -} diff --git a/vendor/knative.dev/client/pkg/kn/commands/flags/listfilters.go b/vendor/knative.dev/client/pkg/kn/commands/flags/listfilters.go deleted file mode 100644 index f2a00b3e0..000000000 --- a/vendor/knative.dev/client/pkg/kn/commands/flags/listfilters.go +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright © 2020 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package flags - -import ( - "fmt" - - "github.com/spf13/cobra" -) - -// SourceTypeFilters defines flags used for kn source list to filter sources on types -type SourceTypeFilters struct { - Filters []string -} - -// Add attaches the SourceTypeFilters flags to given command -func (s *SourceTypeFilters) Add(cmd *cobra.Command, what string) { - usage := fmt.Sprintf("Filter list on given %s. This flag can be given multiple times.", what) - cmd.Flags().StringSliceVarP(&s.Filters, "type", "t", nil, usage) -} diff --git a/vendor/knative.dev/client/pkg/kn/commands/flags/traffic.go b/vendor/knative.dev/client/pkg/kn/commands/flags/traffic.go deleted file mode 100644 index 4e8a085c5..000000000 --- a/vendor/knative.dev/client/pkg/kn/commands/flags/traffic.go +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright © 2019 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package flags - -import ( - "github.com/spf13/cobra" -) - -type Traffic struct { - RevisionsPercentages []string - RevisionsTags []string - UntagRevisions []string -} - -func (t *Traffic) Add(cmd *cobra.Command) { - t.AddTrafficFlag(cmd) - - t.AddTagFlag(cmd) - - t.AddUntagFlag(cmd) -} - -// AddUntagFlag adds the flag --untag to the command -func (t *Traffic) AddUntagFlag(cmd *cobra.Command) { - cmd.Flags().StringSliceVar(&t.UntagRevisions, - "untag", - nil, - "Untag revision (format: --untag tagName). This flag can be specified multiple times.") -} - -// AddTagFlag adds the flag --tag to the command -func (t *Traffic) AddTagFlag(cmd *cobra.Command) { - cmd.Flags().StringSliceVar(&t.RevisionsTags, - "tag", - nil, - "Set tag (format: --tag revisionRef=tagName) where revisionRef can be a revision or '@latest' string representing latest ready revision. "+ - "This flag can be specified multiple times.") -} - -// AddTrafficFlag adds the flag --traffic to the command -func (t *Traffic) AddTrafficFlag(cmd *cobra.Command) { - cmd.Flags().StringSliceVar(&t.RevisionsPercentages, - "traffic", - nil, - "Set traffic distribution (format: --traffic revisionRef=percent) where revisionRef can be a revision or a tag or '@latest' string "+ - "representing latest ready revision. This flag can be given multiple times with percent summing up to 100%.") -} - -func (t *Traffic) PercentagesChanged(cmd *cobra.Command) bool { - return cmd.Flags().Changed("traffic") -} - -func (t *Traffic) TagsChanged(cmd *cobra.Command) bool { - return cmd.Flags().Changed("tag") || cmd.Flags().Changed("untag") -} - -func (t *Traffic) Changed(cmd *cobra.Command) bool { - return t.PercentagesChanged(cmd) || t.TagsChanged(cmd) -} diff --git a/vendor/knative.dev/client/pkg/kn/commands/wait_flags.go b/vendor/knative.dev/client/pkg/kn/commands/wait_flags.go deleted file mode 100644 index 22dae6746..000000000 --- a/vendor/knative.dev/client/pkg/kn/commands/wait_flags.go +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright © 2019 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package commands - -import ( - "fmt" - - "github.com/spf13/cobra" - - knflags "knative.dev/client/pkg/kn/flags" -) - -// Default time out to use when waiting for reconciliation. It is deliberately very long as it is expected that -// the service doesn't stay in `Unknown` status very long and eventually ends up as `False` or `True` in a timely -// manner -const WaitDefaultTimeout = 600 - -// Flags for tuning wait behaviour -type WaitFlags struct { - // Timeout in seconds for how long to wait for a command to return - TimeoutInSeconds int - // If set then apply resources and wait for completion - Wait bool - // Duration in seconds for waiting between intermediate false ready conditions - ErrorWindowInSeconds int -} - -// Add flags which influence the wait/no-wait behaviour when creating, updating, waiting for -// resources. If the action is not `wait`, set `waitDefault` argument if the default behaviour is synchronous. -// Use `what` for describing what is waited for. -func (p *WaitFlags) AddConditionWaitFlags(command *cobra.Command, waitTimeoutDefault int, action, what, until string) { - if action != "wait" { - waitUsage := fmt.Sprintf("Wait for '%s %s' operation to be completed.", what, action) - waitDefault := true - // Special-case 'delete' command so it comes back to the user immediately - if action == "delete" { - waitDefault = false - } - - knflags.AddBothBoolFlagsUnhidden(command.Flags(), &p.Wait, "wait", "", waitDefault, waitUsage) - } - timeoutUsage := fmt.Sprintf("Seconds to wait before giving up on waiting for %s to be %s.", what, until) - command.Flags().IntVar(&p.TimeoutInSeconds, "wait-timeout", waitTimeoutDefault, timeoutUsage) - - windowUsage := fmt.Sprintf("Seconds to wait for %s to be %s after a false ready condition is returned", what, until) - command.Flags().IntVar(&p.ErrorWindowInSeconds, "wait-window", 2, windowUsage) -} diff --git a/vendor/knative.dev/client/pkg/kn/config/testing.go b/vendor/knative.dev/client/pkg/kn/config/testing.go deleted file mode 100644 index f7b2a0582..000000000 --- a/vendor/knative.dev/client/pkg/kn/config/testing.go +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright © 2020 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package config - -// Implementation of Config useful for testing purposes -// Set an instance of this for config.GlobalConfig to mock -// your own configuration setup -type TestConfig struct { - TestPluginsDir string - TestConfigFile string - TestLookupPluginsInPath bool - TestSinkMappings []SinkMapping - TestChannelTypeMappings []ChannelTypeMapping -} - -// Ensure that TestConfig implements the configuration interface -var _ Config = &TestConfig{} - -func (t TestConfig) PluginsDir() string { return t.TestPluginsDir } -func (t TestConfig) ConfigFile() string { return t.TestConfigFile } -func (t TestConfig) LookupPluginsInPath() bool { return t.TestLookupPluginsInPath } -func (t TestConfig) SinkMappings() []SinkMapping { return t.TestSinkMappings } -func (t TestConfig) ChannelTypeMappings() []ChannelTypeMapping { return t.TestChannelTypeMappings } diff --git a/vendor/knative.dev/client/pkg/kn/flags/channel_types.go b/vendor/knative.dev/client/pkg/kn/flags/channel_types.go deleted file mode 100644 index 3a79a585e..000000000 --- a/vendor/knative.dev/client/pkg/kn/flags/channel_types.go +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright © 2020 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package flags - -import ( - "fmt" - "strings" - - duckv1 "knative.dev/pkg/apis/duck/v1" - - messagingv1 "knative.dev/eventing/pkg/apis/messaging/v1" - - "github.com/spf13/pflag" - "k8s.io/apimachinery/pkg/runtime/schema" - - "knative.dev/client/pkg/kn/config" -) - -type ChannelTypeFlags struct { - ctype string -} - -type ChannelRef struct { - Cref string -} - -// ctypeMappings maps aliases used for channel types to their GroupVersionKind -var ctypeMappings = map[string]schema.GroupVersionKind{ - "imc": { - Group: "messaging.knative.dev", - Version: "v1", - Kind: "InMemoryChannel", - }, -} - -// Add sets channel type flag definition to given flagset -func (i *ChannelTypeFlags) Add(f *pflag.FlagSet) { - f.StringVar(&i.ctype, - "type", - "", - "Override channel type to create, in the format '--type Group:Version:Kind'. "+ - "If flag is not specified, it uses default messaging layer settings for channel type, cluster wide or specific namespace. "+ - "You can configure aliases for channel types in kn config and refer the aliases with this flag. "+ - "You can also refer inbuilt channel type InMemoryChannel using an alias 'imc' like '--type imc'. "+ - "Examples: '--type messaging.knative.dev:v1alpha1:KafkaChannel' for specifying explicit Group:Version:Kind.") - - for _, p := range config.GlobalConfig.ChannelTypeMappings() { - //user configuration might override the default configuration - ctypeMappings[p.Alias] = schema.GroupVersionKind{ - Kind: p.Kind, - Group: p.Group, - Version: p.Version, - } - } -} - -// Parse parses the CLI value for channel type flag and populates GVK or returns error -func (i *ChannelTypeFlags) Parse() (*schema.GroupVersionKind, error) { - parts := strings.Split(i.ctype, ":") - switch len(parts) { - case 1: - if typ, ok := ctypeMappings[i.ctype]; ok { - return &typ, nil - } - return nil, fmt.Errorf("Error: unknown channel type alias: '%s'", i.ctype) - case 3: - if parts[0] == "" || parts[1] == "" || parts[2] == "" { - return nil, fmt.Errorf("Error: incorrect value '%s' for '--type', must be in the format 'Group:Version:Kind' or configure an alias in kn config", i.ctype) - } - return &schema.GroupVersionKind{Group: parts[0], Version: parts[1], Kind: parts[2]}, nil - default: - return nil, fmt.Errorf("Error: incorrect value '%s' for '--type', must be in the format 'Group:Version:Kind' or configure an alias in kn config", i.ctype) - } -} - -// Add sets channel reference flag definition to given flagset -func (i *ChannelRef) Add(f *pflag.FlagSet) { - f.StringVar(&i.Cref, - "channel", - "", - "Specify the channel to subscribe to. For the default channel, "+ - "just use the name (e.g. 'mychannel'). A mapped channel type like 'imc' "+ - "can be used as a prefix (e.g. 'imc:mychannel'). "+ - "Finally you can specify the full coordinates to the referenced channel "+ - "with Group:Version:Kind:Name (e.g. 'messaging.knative.dev:v1alpha1:KafkaChannel:mychannel').") -} - -// Parse parses the CLI value for channel ref flag and populates object reference or return error -func (i *ChannelRef) Parse() (*duckv1.KReference, error) { - parts := strings.Split(i.Cref, ":") - switch len(parts) { - // if no prefix is given, defer to "messaging.knative.dev/v1:Channel" - case 1: - return &duckv1.KReference{Kind: "Channel", APIVersion: messagingv1.SchemeGroupVersion.String(), Name: parts[0]}, nil - case 2: - if typ, ok := ctypeMappings[parts[0]]; ok { - return &duckv1.KReference{Kind: typ.Kind, APIVersion: typ.GroupVersion().String(), Name: parts[1]}, nil - } - return nil, fmt.Errorf("Error: unknown alias '%s' for '--channel', please configure the alias in kn config or specify in the format '--channel Group:Version:Kind:Name'", parts[0]) - case 4: - if parts[0] == "" || parts[1] == "" || parts[2] == "" || parts[3] == "" { - return nil, fmt.Errorf("Error: incorrect value '%s' for '--channel', must be in the format 'Group:Version:Kind:Name' or configure an alias in kn config and refer as: '--channel ALIAS:NAME'", i.Cref) - } - return &duckv1.KReference{Kind: parts[2], APIVersion: parts[0] + "/" + parts[1], Name: parts[3]}, nil - default: - return nil, fmt.Errorf("Error: incorrect value '%s' for '--channel', must be in the format 'Group:Version:Kind:Name' or configure an alias in kn config and refer as: '--channel ALIAS:NAME'", i.Cref) - } -} diff --git a/vendor/knative.dev/client/pkg/kn/flags/podspec.go b/vendor/knative.dev/client/pkg/kn/flags/podspec.go deleted file mode 100644 index aec09ec49..000000000 --- a/vendor/knative.dev/client/pkg/kn/flags/podspec.go +++ /dev/null @@ -1,409 +0,0 @@ -// Copyright 2020 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package flags - -import ( - "errors" - "fmt" - "strings" - - corev1 "k8s.io/api/core/v1" - "knative.dev/client/pkg/util" - - "github.com/spf13/pflag" -) - -// PodSpecFlags to hold the container resource requirements values -type PodSpecFlags struct { - // Direct field manipulation - Image uniqueStringArg - ImagePullPolicy string - Env []string - EnvFrom []string - EnvValueFrom []string - EnvFile string - Mount []string - Volume []string - - Command []string - Arg []string - - LivenessProbe string - LivenessProbeOpts string - ReadinessProbe string - ReadinessProbeOpts string - - ExtraContainers string - - Resources ResourceOptions - Port string - ServiceAccountName string - ImagePullSecrets string - User int64 -} - -type ResourceFlags struct { - CPU string - Memory string -} - -// -- uniqueStringArg Value -// Custom implementation of flag.Value interface to prevent multiple value assignment. -// Useful to enforce unique use of flags, e.g. --image. -type uniqueStringArg string - -func (s *uniqueStringArg) Set(val string) error { - if len(*s) > 0 { - return errors.New("can be provided only once") - } - *s = uniqueStringArg(val) - return nil -} - -func (s *uniqueStringArg) Type() string { - return "string" -} - -func (s *uniqueStringArg) String() string { return string(*s) } - -// AddUpdateFlags will add PodSpec flags related to environment variable to FlagSet of update command -func (p *PodSpecFlags) AddUpdateFlags(flagset *pflag.FlagSet) []string { - flagNames := []string{} - flagset.StringArrayVarP(&p.Env, "env", "e", []string{}, - "Environment variable to set. NAME=value; you may provide this flag "+ - "any number of times to set multiple environment variables. "+ - "To unset, specify the environment variable name followed by a \"-\" (e.g., NAME-).") - flagNames = append(flagNames, "env") - - flagset.StringArrayVarP(&p.EnvValueFrom, "env-value-from", "", []string{}, - "Add environment variable from a value of key in ConfigMap (prefix cm: or config-map:) or a Secret (prefix sc: or secret:). "+ - "Example: --env-value-from NAME=cm:myconfigmap:key or --env-value-from NAME=secret:mysecret:key. "+ - "You can use this flag multiple times. "+ - "To unset a value from a ConfigMap/Secret key reference, append \"-\" to the key, e.g. --env-value-from ENV-.") - flagNames = append(flagNames, "env-value-from") - - flagset.StringArrayVarP(&p.EnvFrom, "env-from", "", []string{}, - "Add environment variables from a ConfigMap (prefix cm: or config-map:) or a Secret (prefix secret:). "+ - "Example: --env-from cm:myconfigmap or --env-from secret:mysecret. "+ - "You can use this flag multiple times. "+ - "To unset a ConfigMap/Secret reference, append \"-\" to the name, e.g. --env-from cm:myconfigmap-.") - flagNames = append(flagNames, "env-from") - - return flagNames -} - -// AddCreateFlags will add PodSpec flags related to environment variable to FlagSet of create command -func (p *PodSpecFlags) AddCreateFlags(flagset *pflag.FlagSet) []string { - flagNames := []string{} - flagset.StringArrayVarP(&p.Env, "env", "e", []string{}, - "Environment variable to set. NAME=value; you may provide this flag "+ - "any number of times to set multiple environment variables.") - flagNames = append(flagNames, "env") - - flagset.StringArrayVarP(&p.EnvValueFrom, "env-value-from", "", []string{}, - "Add environment variable from a value of key in ConfigMap (prefix cm: or config-map:) or a Secret (prefix sc: or secret:). "+ - "Example: --env-value-from NAME=cm:myconfigmap:key or --env-value-from NAME=secret:mysecret:key. "+ - "You can use this flag multiple times.") - flagNames = append(flagNames, "env-value-from") - - flagset.StringArrayVarP(&p.EnvFrom, "env-from", "", []string{}, - "Add environment variables from a ConfigMap (prefix cm: or config-map:) or a Secret (prefix secret:). "+ - "Example: --env-from cm:myconfigmap or --env-from secret:mysecret. "+ - "You can use this flag multiple times.") - flagNames = append(flagNames, "env-from") - - return flagNames -} - -// AddFlags will add PodSpec related flags to FlagSet -func (p *PodSpecFlags) AddFlags(flagset *pflag.FlagSet) []string { - - flagNames := []string{} - - flagset.VarP(&p.Image, "image", "", "Image to run.") - flagNames = append(flagNames, "image") - - flagset.StringVar(&p.ImagePullPolicy, "pull-policy", "", - "Image pull policy. Valid values (case insensitive): Always | Never | IfNotPresent") - - flagset.StringVarP(&p.EnvFile, "env-file", "", "", "Path to a file containing environment variables (e.g. --env-file=/home/knative/service1/env).") - flagNames = append(flagNames, "env-file") - - flagset.StringArrayVarP(&p.Mount, "mount", "", []string{}, - "Mount a ConfigMap (prefix cm: or config-map:), a Secret (prefix secret: or sc:), an EmptyDir (prefix ed: or emptyDir:), "+ - "a PersistentVolumeClaim (prefix pvc: or persistentVolumeClaim) or an existing Volume (without any prefix) on the specified directory. "+ - "Example: --mount /mydir=cm:myconfigmap, --mount /mydir=secret:mysecret, --mount /mydir=emptyDir:myvol "+ - "or --mount /mydir=myvolume. When a configmap or a secret is specified, a corresponding volume is "+ - "automatically generated. You can mount a volume with readOnly config (true | false) also. "+ - "Example: --mount /mydir=ed:ed1:readOnly=true. "+ - "You can specify a volume subpath by following the volume name with slash separated path. "+ - "Example: --mount /mydir=cm:myconfigmap/subpath/to/be/mounted. "+ - "You can use this flag multiple times. "+ - "For unmounting a directory, append \"-\", e.g. --mount /mydir-, which also removes any auto-generated volume.") - flagNames = append(flagNames, "mount") - - flagset.StringArrayVarP(&p.Volume, "volume", "", []string{}, - "Add a volume from a ConfigMap (prefix cm: or config-map:) a Secret (prefix secret: or sc:), "+ - "an EmptyDir (prefix ed: or emptyDir:) or a PersistentVolumeClaim (prefix pvc: or persistentVolumeClaim). "+ - "Example: --volume myvolume=cm:myconfigmap, --volume myvolume=secret:mysecret or --volume emptyDir:myvol:size=1Gi,type=Memory. "+ - "You can use this flag multiple times. "+ - "To unset a ConfigMap/Secret reference, append \"-\" to the name, e.g. --volume myvolume-.") - flagNames = append(flagNames, "volume") - - flagset.StringArrayVarP(&p.Command, "cmd", "", []string{}, - "Specify command to be used as entrypoint instead of default one. "+ - "Example: --cmd /app/start or --cmd sh --cmd /app/start.sh or --cmd /app/start --arg myArg to pass additional arguments.") - flagNames = append(flagNames, "cmd") - - flagset.StringArrayVarP(&p.Arg, "arg", "", []string{}, - "Add argument to the container command. "+ - "Example: --arg myArg1 --arg --myArg2 --arg myArg3=3. "+ - "You can use this flag multiple times.") - flagNames = append(flagNames, "arg") - - // DEPRECATED since 1.0 - flagset.StringVarP(&p.ExtraContainers, "extra-containers", "", "", - "Deprecated, use --containers instead.") - flagset.MarkHidden("extra-containers") - flagNames = append(flagNames, "containers") - - flagset.StringVarP(&p.ExtraContainers, "containers", "", "", - "Specify path to file including definition for additional containers, alternatively use '-' to read from stdin. "+ - "Example: --containers ./containers.yaml or --containers -.") - flagNames = append(flagNames, "containers") - - // Probes - commonProbeDescription := "Supported probe types are HTTGet, Exec and TCPSocket. " + - "Format: [http,https]:host:port:path, exec:cmd[,cmd,...], tcp:host:port." - commonProbeOptsDesc := "Common opts (comma separated, case insensitive): InitialDelaySeconds=, FailureThreshold=, " + - "SuccessThreshold=, PeriodSeconds=, TimeoutSeconds=" - flagset.StringVarP(&p.LivenessProbe, "probe-liveness", "", "", "Add liveness probe to Service deployment. "+ - commonProbeDescription) - flagNames = append(flagNames, "probe-liveness") - flagset.StringVarP(&p.LivenessProbeOpts, "probe-liveness-opts", "", "", "Add common options to liveness probe. "+ - commonProbeOptsDesc) - flagNames = append(flagNames, "probe-liveness-opts") - flagset.StringVarP(&p.ReadinessProbe, "probe-readiness", "", "", "Add readiness probe to Service deployment. "+ - commonProbeDescription) - flagNames = append(flagNames, "probe-readiness") - flagset.StringVarP(&p.ReadinessProbeOpts, "probe-readiness-opts", "", "", "Add common options to readiness probe. "+ - commonProbeOptsDesc) - flagNames = append(flagNames, "probe-liveness-opts") - - flagset.StringSliceVar(&p.Resources.Limits, - "limit", - nil, - "The resource requirement limits for this Service. For example, 'cpu=100m,memory=256Mi'. "+ - "You can use this flag multiple times. "+ - "To unset a resource limit, append \"-\" to the resource name, e.g. '--limit memory-'.") - flagNames = append(flagNames, "limit") - - flagset.StringSliceVar(&p.Resources.Requests, - "request", - nil, - "The resource requirement requests for this Service. For example, 'cpu=100m,memory=256Mi'. "+ - "You can use this flag multiple times. "+ - "To unset a resource request, append \"-\" to the resource name, e.g. '--request cpu-'.") - flagNames = append(flagNames, "request") - - flagset.StringVarP(&p.Port, "port", "p", "", "The port where application listens on, in the format 'NAME:PORT', where 'NAME' is optional. Examples: '--port h2c:8080' , '--port 8080'.") - flagNames = append(flagNames, "port") - - flagset.StringVar(&p.ServiceAccountName, - "service-account", - "", - "Service account name to set. An empty argument (\"\") clears the service account. The referenced service account must exist in the service's namespace.") - flagNames = append(flagNames, "service-account") - - flagset.StringVar(&p.ImagePullSecrets, - "pull-secret", - "", - "Image pull secret to set. An empty argument (\"\") clears the pull secret. The referenced secret must exist in the service's namespace.") - flagNames = append(flagNames, "pull-secret") - flagset.Int64VarP(&p.User, "user", "", 0, "The user ID to run the container (e.g., 1001).") - flagNames = append(flagNames, "user") - return flagNames -} - -// ResolvePodSpec will create corev1.PodSpec based on the flag inputs and all input arguments -func (p *PodSpecFlags) ResolvePodSpec(podSpec *corev1.PodSpec, flags *pflag.FlagSet, allArgs []string) error { - var err error - - if flags.Changed("env") || flags.Changed("env-value-from") || flags.Changed("env-file") { - envToUpdate, envToRemove, err := util.OrderedMapAndRemovalListFromArray(p.Env, "=") - if err != nil { - return fmt.Errorf("Invalid --env: %w", err) - } - - envValueFromToUpdate, envValueFromToRemove, err := util.OrderedMapAndRemovalListFromArray(p.EnvValueFrom, "=") - if err != nil { - return fmt.Errorf("Invalid --env-value-from: %w", err) - } - - envsFileToUpdate := util.NewOrderedMap() - envsFileToRemove := []string{} - if p.EnvFile != "" { - envsFromFile, err := util.GetEnvsFromFile(p.EnvFile, "=") - if err != nil { - return fmt.Errorf("Invalid --env-file: %w", err) - } - envsFileToUpdate, envsFileToRemove, err = util.OrderedMapAndRemovalListFromArray(envsFromFile, "=") - if err != nil { - return fmt.Errorf("Invalid --env: %w", err) - } - } - - err = UpdateEnvVars( - podSpec, allArgs, envToUpdate, envToRemove, - envValueFromToUpdate, envValueFromToRemove, - p.EnvFile, envsFileToUpdate, envsFileToRemove, - ) - if err != nil { - return err - } - } - - if flags.Changed("env-from") { - envFromSourceToUpdate := []string{} - envFromSourceToRemove := []string{} - for _, name := range p.EnvFrom { - if name == "-" { - return fmt.Errorf("\"-\" is not a valid value for \"--env-from\"") - } else if strings.HasSuffix(name, "-") { - envFromSourceToRemove = append(envFromSourceToRemove, name[:len(name)-1]) - } else { - envFromSourceToUpdate = append(envFromSourceToUpdate, name) - } - } - - err := UpdateEnvFrom(podSpec, envFromSourceToUpdate, envFromSourceToRemove) - if err != nil { - return err - } - } - - if flags.Changed("mount") || flags.Changed("volume") { - mountsToUpdate, mountsToRemove, err := util.OrderedMapAndRemovalListFromArray(p.Mount, "=") - if err != nil { - return fmt.Errorf("Invalid --mount: %w", err) - } - - volumesToUpdate, volumesToRemove, err := util.OrderedMapAndRemovalListFromArray(p.Volume, "=") - if err != nil { - return fmt.Errorf("Invalid --volume: %w", err) - } - - err = UpdateVolumeMountsAndVolumes(podSpec, mountsToUpdate, mountsToRemove, volumesToUpdate, volumesToRemove) - if err != nil { - return err - } - } - - if flags.Changed("image") { - err = UpdateImage(podSpec, p.Image.String()) - if err != nil { - return err - } - } - - if flags.Changed("pull-policy") { - - err = UpdateImagePullPolicy(podSpec, p.ImagePullPolicy) - if err != nil { - return err - } - } - - requestsToRemove, limitsToRemove, err := p.Resources.Validate() - if err != nil { - return err - } - - err = UpdateResources(podSpec, p.Resources.ResourceRequirements, requestsToRemove, limitsToRemove) - if err != nil { - return err - } - - if flags.Changed("cmd") { - err = UpdateContainerCommand(podSpec, p.Command) - if err != nil { - return err - } - } - - if flags.Changed("arg") { - err = UpdateContainerArg(podSpec, p.Arg) - if err != nil { - return err - } - } - - if flags.Changed("port") { - err = UpdateContainerPort(podSpec, p.Port) - if err != nil { - return err - } - } - - if flags.Changed("service-account") { - UpdateServiceAccountName(podSpec, p.ServiceAccountName) - } - - if flags.Changed("pull-secret") { - UpdateImagePullSecrets(podSpec, p.ImagePullSecrets) - } - - if flags.Changed("user") { - err = UpdateUser(podSpec, p.User) - if err != nil { - return err - } - } - - if flags.Changed("containers") || flags.Changed("extra-containers") || p.ExtraContainers == "-" { - var fromFile *corev1.PodSpec - fromFile, err = decodeContainersFromFile(p.ExtraContainers) - if err != nil { - return err - } - UpdateContainers(podSpec, fromFile.Containers) - } - - if flags.Changed("probe-liveness") { - if err := UpdateLivenessProbe(podSpec, p.LivenessProbe); err != nil { - return err - } - } - - if flags.Changed("probe-liveness-opts") { - if err := UpdateLivenessProbeOpts(podSpec, p.LivenessProbeOpts); err != nil { - return err - } - } - - if flags.Changed("probe-readiness") { - if err := UpdateReadinessProbe(podSpec, p.ReadinessProbe); err != nil { - return err - } - } - - if flags.Changed("probe-readiness-opts") { - if err := UpdateReadinessProbeOpts(podSpec, p.ReadinessProbeOpts); err != nil { - return err - } - } - - return nil -} diff --git a/vendor/knative.dev/client/pkg/kn/flags/resources.go b/vendor/knative.dev/client/pkg/kn/flags/resources.go deleted file mode 100644 index b70360464..000000000 --- a/vendor/knative.dev/client/pkg/kn/flags/resources.go +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright © 2020 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package flags - -import ( - corev1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/api/resource" - - "knative.dev/client/pkg/util" -) - -// ResourceOptions to hold the container resource requirements values -type ResourceOptions struct { - Requests []string - Limits []string - ResourceRequirements corev1.ResourceRequirements -} - -// Validate parses the limits and requests parameters if specified and -// sets ResourceRequirements for ResourceOptions or returns error if any -func (o *ResourceOptions) Validate() ([]string, []string, error) { - requests, requestsToRemove, err := populateResourceListV1(o.Requests) - if err != nil { - return []string{}, []string{}, err - } - o.ResourceRequirements.Requests = requests - - limits, limitsToRemove, err := populateResourceListV1(o.Limits) - if err != nil { - return []string{}, []string{}, err - } - o.ResourceRequirements.Limits = limits - - return requestsToRemove, limitsToRemove, nil -} - -// populateResourceListV1 takes array of strings of form = -// and returns ResourceList , an array of resource keys to remove and error if any -func populateResourceListV1(resourceStatements []string) (corev1.ResourceList, []string, error) { - // empty input gets a nil response to preserve generator test expected behaviors - if len(resourceStatements) == 0 { - return nil, []string{}, nil - } - - result := corev1.ResourceList{} - resources, err := util.MapFromArrayAllowingSingles(resourceStatements, "=") - if err != nil { - return result, []string{}, err - } - - resourcesToRemove := util.ParseMinusSuffix(resources) - - for res, value := range resources { - parse := true - // do not parse the quantity OR throw error if the key is being asked for removal - for _, toRemove := range resourcesToRemove { - if res == toRemove { - parse = false - break - } - } - if !parse { - continue - } - - resourceQuantity, err := resource.ParseQuantity(value) - if err != nil { - return nil, resourcesToRemove, err - } - - result[corev1.ResourceName(res)] = resourceQuantity - } - - return result, resourcesToRemove, nil -} diff --git a/vendor/knative.dev/client/pkg/kn/plugin/manager.go b/vendor/knative.dev/client/pkg/kn/plugin/manager.go deleted file mode 100644 index 007404ca8..000000000 --- a/vendor/knative.dev/client/pkg/kn/plugin/manager.go +++ /dev/null @@ -1,514 +0,0 @@ -// Copyright © 2020 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package plugin - -import ( - "errors" - "fmt" - "os" - "os/exec" - "path/filepath" - "runtime" - "sort" - "strings" - "text/template" - - homedir "github.com/mitchellh/go-homedir" - "github.com/spf13/cobra" -) - -// Allow plugins to register to this slice for inlining -var InternalPlugins PluginList - -// Interface describing a plugin -type Plugin interface { - // Get the name of the plugin (the file name without extensions) - Name() string - - // Execute the plugin with the given arguments - Execute(args []string) error - - // Return a description of the plugin (if support by the plugin binary) - Description() (string, error) - - // The command path leading to this plugin. - // Eg. for a plugin "kn source github" this will be [ "source", "github" ] - CommandParts() []string - - // Location of the plugin where it is stored in the filesystem - Path() string -} - -type ContextData map[string]string - -type PluginManifest struct { - // ProducesContextDataKeys is a list of keys for the ContextData that - // a plugin can produce. Nil or an empty list declares that this - // plugin is not ContextDataProducer - ProducesContextDataKeys []string - - // ConsumesContextDataKeys is a list of keys from a ContextData that a - // plugin is interested in to consume. Nil or an empty list declares - // that this plugin is not a ContextDataConsumer - ConsumesContextDataKeys []string -} - -type ContextDataConsumer interface { - // ExecuteWithContextData executes the plugin with the given args much like - // Execute() but with an additional argument that holds the ContextData - ExecuteWithContextData(args []string, data ContextData) error -} - -type Manager struct { - // Dedicated plugin directory as configured - pluginsDir string - - // Whether to check the OS path or not - lookupInPath bool -} - -type plugin struct { - // Path to the plugin to execute - path string - - // Name of the plugin - name string - - // Commands leading to the execution of this plugin (e.g. "service","log" for a plugin kn-service-log) - commandParts []string -} - -// All extensions that are supposed to be windows executable -var windowsExecExtensions = []string{".bat", ".cmd", ".com", ".exe", ".ps1"} - -// Used for sorting a list of plugins -type PluginList []Plugin - -func (p PluginList) Len() int { return len(p) } -func (p PluginList) Less(i, j int) bool { return p[i].Name() < p[j].Name() } -func (p PluginList) Swap(i, j int) { p[i], p[j] = p[j], p[i] } - -// === PluginManager ======================================================================= - -// NewManager creates a new manager for looking up plugins on the file system -func NewManager(pluginDir string, lookupInPath bool) *Manager { - return &Manager{ - pluginsDir: pluginDir, - lookupInPath: lookupInPath, - } -} - -// FindPlugin checks if a plugin for the given parts exist and return it. -// The args given must not contain any options and contain only -// the commands (like in [ "source", "github" ] for a plugin called 'kn-source-github' -// The plugin with the most specific (longest) name is returned or nil if non is found. -// An error is returned if the lookup fails for some reason like an io error -func (manager *Manager) FindPlugin(parts []string) (Plugin, error) { - if len(parts) == 0 { - // No command given - return nil, nil - } - - // Try to find internal plugin fist - plugin := lookupInternalPlugin(parts) - if plugin != nil { - return plugin, nil - } - - // Try to find plugin in pluginsDir - pluginDir, err := homedir.Expand(manager.pluginsDir) - if err != nil { - return nil, err - } - - return findMostSpecificPluginInPath(pluginDir, parts, manager.lookupInPath) -} - -// ListPlugins lists all plugins that can be found in the plugin directory or in the path (if configured) -func (manager *Manager) ListPlugins() (PluginList, error) { - return manager.ListPluginsForCommandGroup(nil) -} - -// ListPluginsForCommandGroup lists all plugins that can be found in the plugin directory or in the path (if configured), -// and which fits to a command group -func (manager *Manager) ListPluginsForCommandGroup(commandGroupParts []string) (PluginList, error) { - - // Initialize with list of internal plugins - var plugins = append([]Plugin{}, filterPluginsByCommandGroup(InternalPlugins, commandGroupParts)...) - - dirs, err := manager.pluginLookupDirectories() - if err != nil { - return nil, err - } - - // Examine all files in possible plugin directories - hasSeen := make(map[string]bool) - for _, pl := range plugins { - hasSeen[pl.Name()] = true - } - for _, dir := range dirs { - files, err := os.ReadDir(dir) - - // Ignore non-existing directories - if os.IsNotExist(err) { - continue - } - - // Check for plugins within given directory - for _, f := range files { - name := f.Name() - if f.IsDir() { - continue - } - if !strings.HasPrefix(name, "kn-") { - continue - } - - // Check if plugin matches a command group - if !isPluginFileNamePartOfCommandGroup(commandGroupParts, f.Name()) { - continue - } - - // Ignore all plugins that are shadowed - if seen, ok := hasSeen[name]; !ok || !seen { - plugins = append(plugins, &plugin{ - path: filepath.Join(dir, f.Name()), - name: stripWindowsExecExtensions(f.Name()), - commandParts: extractPluginCommandFromFileName(f.Name()), - }) - hasSeen[name] = true - } - } - } - - // Sort according to name - sort.Sort(PluginList(plugins)) - return plugins, nil -} - -func filterPluginsByCommandGroup(plugins PluginList, commandGroupParts []string) PluginList { - ret := PluginList{} - for _, pl := range plugins { - if isPartOfCommandGroup(commandGroupParts, pl.CommandParts()) { - ret = append(ret, pl) - } - } - return ret -} - -func isPartOfCommandGroup(commandGroupParts []string, commandParts []string) bool { - if len(commandParts) != len(commandGroupParts)+1 { - return false - } - for i := range commandGroupParts { - if commandParts[i] != commandGroupParts[i] { - return false - } - } - return true -} - -func isPluginFileNamePartOfCommandGroup(commandGroupParts []string, pluginFileName string) bool { - if commandGroupParts == nil { - return true - } - - commandParts := extractPluginCommandFromFileName(pluginFileName) - if len(commandParts) != len(commandGroupParts)+1 { - return false - } - for i := range commandGroupParts { - if commandParts[i] != commandGroupParts[i] { - return false - } - } - return true -} - -// PluginsDir returns the configured directory holding plugins -func (manager *Manager) PluginsDir() string { - return manager.pluginsDir -} - -// LookupInPath returns true if plugins should be also looked up within the path -func (manager *Manager) LookupInPath() bool { - return manager.lookupInPath -} - -// === Plugin ============================================================================== - -// Execute the plugin with the given arguments -func (plugin *plugin) Execute(args []string) error { - //nolint:gosec // Passing the arguments through is expected, the plugins are trusted. - cmd := exec.Command(plugin.path, args...) - cmd.Stdout = os.Stdout - cmd.Stderr = os.Stderr - cmd.Stdin = os.Stdin - cmd.Env = os.Environ() - return cmd.Run() -} - -// Return a description of the plugin (if support by the plugin binary) -func (plugin *plugin) Description() (string, error) { - // TODO: Call out to the plugin to find a description. - // For now just use the path to the plugin - return plugin.path, nil - // return strings.Join(plugin.commandParts, "-"), nil -} - -// The the command path leading to this plugin. -// Eg. for a plugin "kn source github" this will be [ "source", "github" ] -func (plugin *plugin) CommandParts() []string { - return plugin.commandParts -} - -// Return the path to the plugin -func (plugin *plugin) Path() string { - return plugin.path -} - -// Name of the plugin -func (plugin *plugin) Name() string { - return plugin.name -} - -// ========================================================================================= - -// Find out all directories that might hold a plugin -func (manager *Manager) pluginLookupDirectories() ([]string, error) { - pluginPath, err := homedir.Expand(manager.pluginsDir) - if err != nil { - return nil, err - } - dirs := []string{pluginPath} - if manager.lookupInPath { - dirs = append(dirs, filepath.SplitList(os.Getenv("PATH"))...) - } - dirs = uniquePathsList(dirs) - return dirs, nil -} - -// HelpTemplateFuncs returns a function map which can be used in templates for resolving -// plugin related help messages -func (manager *Manager) HelpTemplateFuncs() *template.FuncMap { - ret := template.FuncMap{ - "listPlugins": manager.listPluginsHelpMessage(), - } - - return &ret -} - -// listPluginsHelpMessage returns a function which returns all plugins that are directly below the given -// command as a properly formatted string -func (manager *Manager) listPluginsHelpMessage() func(cmd *cobra.Command) string { - return func(cmd *cobra.Command) string { - if !cmd.HasSubCommands() { - return "" - } - list, err := manager.ListPluginsForCommandGroup(extractCommandGroup(cmd, []string{})) - if err != nil || len(list) == 0 { - // We don't show plugins if there is an error - return "" - } - var plugins []string - for _, pl := range list { - t := fmt.Sprintf(" %%-%ds %%s", cmd.NamePadding()) - desc, _ := pl.Description() - command := (pl.CommandParts())[len(pl.CommandParts())-1] - help := fmt.Sprintf(t, command, desc) - plugins = append(plugins, help) - } - return strings.Join(plugins, "\n") - } -} - -// extractCommandGroup constructs the command path as array of strings -func extractCommandGroup(cmd *cobra.Command, parts []string) []string { - if cmd.HasParent() { - parts = extractCommandGroup(cmd.Parent(), parts) - parts = append(parts, cmd.Name()) - } - return parts -} - -// uniquePathsList deduplicates a given slice of strings without -// sorting or otherwise altering its order in any way. -func uniquePathsList(paths []string) []string { - seen := map[string]bool{} - newPaths := make([]string, 0, len(paths)) - for _, p := range paths { - if seen[p] { - continue - } - seen[p] = true - newPaths = append(newPaths, p) - } - return newPaths -} - -// Split up a command name, discard the initial prefix ("kn-") and convert -// parts to command syntax (i.e. replace _ with -) -func extractPluginCommandFromFileName(name string) []string { - // Remove extension on windows - name = stripWindowsExecExtensions(name) - parts := strings.Split(name, "-") - if len(parts) < 1 { - return []string{} - } - ret := make([]string, 0, len(parts)-1) - for _, p := range parts[1:] { - ret = append(ret, convertUnderscoreToDash(p)) - } - return ret -} - -// Strip any extension that indicates an EXE on Windows -func stripWindowsExecExtensions(name string) string { - if runtime.GOOS == "windows" { - ext := filepath.Ext(name) - if len(ext) > 0 { - for _, e := range windowsExecExtensions { - if ext == e { - name = name[:len(name)-len(ext)] - break - } - } - } - } - return name -} - -// Return the path and the parts building the most specific plugin in the given directory -// If lookupInPath is true, then also the OS PATH is checked. -// An error returned if any IO operation fails -func findMostSpecificPluginInPath(dir string, parts []string, lookupInPath bool) (Plugin, error) { - for i := len(parts); i > 0; i-- { - - // Construct plugin name to lookup - var nameParts []string - var commandParts []string - for _, p := range parts[0:i] { - // for arguments that contain the path separator, - // stop the loop once the separator appears - if strings.Contains(p, string(os.PathSeparator)) { - break - } - // Subcommands with "-" are translated to "_" - // (e.g. a command "kn log-all" is translated to a plugin "kn-log_all") - nameParts = append(nameParts, convertDashToUnderscore(p)) - commandParts = append(commandParts, p) - } - name := fmt.Sprintf("kn-%s", strings.Join(nameParts, "-")) - - // Check for the name in plugin directory and PATH (if requested) - path, err := findInDirOrPath(name, dir, lookupInPath) - if err != nil { - return nil, fmt.Errorf("cannot lookup plugin %s in directory %s (lookup in path: %t): %w", name, dir, lookupInPath, err) - } - - // Found, return it - if path != "" { - return &plugin{ - path: path, - commandParts: commandParts, - name: name, - }, nil - } - } - - // Nothing found - return nil, nil -} - -// convertDashToUnderscore converts from the command name to the file name -func convertDashToUnderscore(p string) string { - return strings.Replace(p, "-", "_", -1) -} - -// convertUnderscoreToDash converts from the filename to the command name -func convertUnderscoreToDash(p string) string { - return strings.Replace(p, "_", "-", -1) -} - -// Find a command with name in the given directory or on the execution PATH (if lookupInPath is true) -// On Windows, also check well known extensions for executables -// Return the full path found or "" if none has found -// Return an error on any IO error. -func findInDirOrPath(name string, dir string, lookupInPath bool) (string, error) { - - exts := []string{""} - if runtime.GOOS == "windows" { - // Add also well known extensions for windows - exts = append(exts, windowsExecExtensions...) - } - - for _, ext := range exts { - nameExt := name + ext - - // Check plugin dir first - path := filepath.Join(dir, nameExt) - _, err := os.Stat(path) - if err == nil { - // Found in dir - return path, nil - } - if !os.IsNotExist(err) { - return "", fmt.Errorf("i/o error while reading %s: %w", path, err) - } - - // Check in PATH if requested - if lookupInPath { - path, err = exec.LookPath(name) - if err == nil { - // Found in path - return path, nil - } - if !errors.Is(err, exec.ErrNotFound) { - return "", fmt.Errorf("error for looking up %s in path: %w", name, err) - } - } - } - - // Not found - return "", nil -} - -// lookupInternalPlugin looks up internally registered plugins. Return nil if none is found. -// Start with longest argument path first to find the most specific match -func lookupInternalPlugin(parts []string) Plugin { - for i := len(parts); i > 0; i-- { - checkParts := parts[0:i] - for _, plugin := range InternalPlugins { - if equalsSlice(plugin.CommandParts(), checkParts) { - return plugin - } - } - } - return nil -} - -// equalsSlice return true if two string slices contain the same elements -func equalsSlice(a, b []string) bool { - if len(a) != len(b) || len(a) == 0 { - return false - } - - for i := range a { - if a[i] != b[i] { - return false - } - } - return true -} diff --git a/vendor/knative.dev/client/pkg/kn/plugin/stat.go b/vendor/knative.dev/client/pkg/kn/plugin/stat.go deleted file mode 100644 index d7cd7a194..000000000 --- a/vendor/knative.dev/client/pkg/kn/plugin/stat.go +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright © 2019 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT 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:build !windows -// +build !windows - -package plugin - -// This file doesn't compile for Windows platform, therefor a second stat_windows.go is -// added with a no-op - -import ( - "fmt" - "os" - "syscall" -) - -func statFileOwner(fileInfo os.FileInfo) (uint32, uint32, error) { - var sys *syscall.Stat_t - var ok bool - if sys, ok = fileInfo.Sys().(*syscall.Stat_t); !ok { - return 0, 0, fmt.Errorf("cannot check owner/group of file %s", fileInfo.Name()) - } - return sys.Uid, sys.Gid, nil -} diff --git a/vendor/knative.dev/client/pkg/kn/plugin/stat_windows.go b/vendor/knative.dev/client/pkg/kn/plugin/stat_windows.go deleted file mode 100644 index 8a0af80f9..000000000 --- a/vendor/knative.dev/client/pkg/kn/plugin/stat_windows.go +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright © 2019 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package plugin - -import ( - "os" -) - -// statFileOwner is a no-op on windows -func statFileOwner(fileInfo os.FileInfo) (uint32, uint32, error) { - return 0, 0, nil -} diff --git a/vendor/knative.dev/client/pkg/kn/plugin/verify.go b/vendor/knative.dev/client/pkg/kn/plugin/verify.go deleted file mode 100644 index 5f5a03cea..000000000 --- a/vendor/knative.dev/client/pkg/kn/plugin/verify.go +++ /dev/null @@ -1,256 +0,0 @@ -// Copyright © 2019 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package plugin - -import ( - "errors" - "fmt" - "io" - "os" - "path/filepath" - "runtime" - "strings" -) - -// Collection of errors and warning collected during verifications -type VerificationErrorsAndWarnings struct { - Errors []string - Warnings []string -} - -// permission bits for execute -const ( - UserExecute = 1 << 6 - GroupExecute = 1 << 3 - OtherExecute = 1 << 0 -) - -// Verification of a ll plugins. This method returns all errors and warnings -// for the verification. The following criteria are verified (for each plugin): -// * If the plugin is executable -// * If the plugin is overshadowed by a previous plugin -func (manager *Manager) Verify() VerificationErrorsAndWarnings { - eaw := VerificationErrorsAndWarnings{} - - dirs, err := manager.pluginLookupDirectories() - if err != nil { - return eaw.AddError("cannot lookup plugin directories: %v", err) - } - - // Examine all files in possible plugin directories - - seenPlugins := make(map[string]string) - for _, dir := range dirs { - files, err := os.ReadDir(dir) - - // Ignore non-existing directories - if os.IsNotExist(err) { - continue - } - - if err != nil { - eaw.AddError("unable to read directory '%s' from your plugin path: %v", dir, err) - continue - } - - for _, f := range files { - if f.IsDir() { - continue - } - if !strings.HasPrefix(f.Name(), "kn-") { - continue - } - eaw = verifyPath(filepath.Join(dir, f.Name()), seenPlugins, eaw) - } - } - return eaw -} - -func verifyPath(path string, seenPlugins map[string]string, eaw VerificationErrorsAndWarnings) VerificationErrorsAndWarnings { - - // Verify that plugin actually exists - fileInfo, err := os.Stat(path) - if err != nil { - if errors.Is(err, os.ErrNotExist) { - return eaw.AddError("cannot find plugin in %s", path) - } - return eaw.AddError("cannot stat %s: %v", path, err) - } - - eaw = addWarningIfNotExecutable(eaw, path, fileInfo) - eaw = addWarningIfAlreadySeen(eaw, seenPlugins, path) - - // Remember each verified plugin for duplicate check - seenPlugins[filepath.Base(path)] = path - - return eaw -} - -func addWarningIfNotExecutable(eaw VerificationErrorsAndWarnings, path string, fileInfo os.FileInfo) VerificationErrorsAndWarnings { - if runtime.GOOS == "windows" { - return checkForWindowsExecutable(eaw, fileInfo, path) - } - - mode := fileInfo.Mode() - if !mode.IsRegular() && !isSymlink(mode) { - return eaw.AddWarning("%s is not a file", path) - } - perms := uint32(mode.Perm()) - - uid, gid, err := statFileOwner(fileInfo) - if err != nil { - return eaw.AddWarning("%s", err.Error()) - } - isOwner := checkIfUserIsFileOwner(uid) - isInGroup, err := checkIfUserInGroup(gid) - if err != nil { - return eaw.AddError("cannot get group ids for checking executable status of file %s", path) - } - - // User is owner and owner can execute - if canOwnerExecute(perms, isOwner) { - return eaw - } - - // User is in group which can execute, but user is not file owner - if canGroupExecute(perms, isOwner, isInGroup) { - return eaw - } - - // All can execute, and the user is not file owner and not in the file's perm group - if canOtherExecute(perms, isOwner, isInGroup) { - return eaw - } - - return eaw.AddWarning("%s is not executable by current user", path) -} - -func addWarningIfAlreadySeen(eaw VerificationErrorsAndWarnings, seenPlugins map[string]string, path string) VerificationErrorsAndWarnings { - fileName := filepath.Base(path) - if existingPath, ok := seenPlugins[fileName]; ok { - return eaw.AddWarning("%s is ignored because it is shadowed by an equally named plugin: %s", path, existingPath) - } - return eaw -} - -func checkForWindowsExecutable(eaw VerificationErrorsAndWarnings, fileInfo os.FileInfo, path string) VerificationErrorsAndWarnings { - name := fileInfo.Name() - nameWithoutExecExtension := stripWindowsExecExtensions(name) - - if name == nameWithoutExecExtension { - return eaw.AddWarning("%s is not executable as it does not have a Windows exec extension (one of %s)", path, strings.Join(windowsExecExtensions, ", ")) - } - return eaw -} - -func checkIfUserInGroup(gid uint32) (bool, error) { - groups, err := os.Getgroups() - if err != nil { - return false, err - } - for _, g := range groups { - if int(gid) == g { - return true, nil - } - } - return false, nil -} - -func checkIfUserIsFileOwner(uid uint32) bool { - return int(uid) == os.Getuid() -} - -// Check if all can execute, and the user is not file owner and not in the file's perm group -func canOtherExecute(perms uint32, isOwner bool, isInGroup bool) bool { - if perms&OtherExecute != 0 { - if os.Getuid() == 0 { - return true - } - if !isOwner && !isInGroup { - return true - } - } - return false -} - -// Check if user is owner and owner can execute -func canOwnerExecute(perms uint32, isOwner bool) bool { - if perms&UserExecute != 0 { - if os.Getuid() == 0 { - return true - } - if isOwner { - return true - } - } - return false -} - -// Check if user is in group which can execute, but user is not file owner -func canGroupExecute(perms uint32, isOwner bool, isInGroup bool) bool { - if perms&GroupExecute != 0 { - if os.Getuid() == 0 { - return true - } - if !isOwner && isInGroup { - return true - } - } - return false -} - -func (eaw *VerificationErrorsAndWarnings) AddError(format string, args ...interface{}) VerificationErrorsAndWarnings { - eaw.Errors = append(eaw.Errors, fmt.Sprintf(format, args...)) - return *eaw -} - -func (eaw *VerificationErrorsAndWarnings) AddWarning(format string, args ...interface{}) VerificationErrorsAndWarnings { - eaw.Warnings = append(eaw.Warnings, fmt.Sprintf(format, args...)) - return *eaw -} - -func (eaw *VerificationErrorsAndWarnings) PrintWarningsAndErrors(out io.Writer) { - printSection(out, "ERROR", eaw.Errors) - printSection(out, "WARNING", eaw.Warnings) -} - -func (eaw *VerificationErrorsAndWarnings) HasErrors() bool { - return len(eaw.Errors) > 0 -} - -func (eaw *VerificationErrorsAndWarnings) IsEmpty() bool { - return len(eaw.Errors)+len(eaw.Warnings) == 0 -} - -func printSection(out io.Writer, label string, values []string) { - if len(values) > 0 { - printLabelWithConditionalPluralS(out, label, len(values)) - for _, value := range values { - fmt.Fprintf(out, " - %s\n", value) - } - } -} - -func printLabelWithConditionalPluralS(out io.Writer, label string, nr int) { - if nr == 1 { - fmt.Fprintf(out, "%s:\n", label) - } else { - fmt.Fprintf(out, "%ss:\n", label) - } -} - -func isSymlink(mode os.FileMode) bool { - return mode&os.ModeSymlink != 0 -} diff --git a/vendor/knative.dev/client/pkg/serving/service.go b/vendor/knative.dev/client/pkg/serving/service.go deleted file mode 100644 index 6e37a1580..000000000 --- a/vendor/knative.dev/client/pkg/serving/service.go +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright © 2019 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package serving - -import ( - "bytes" - "math/rand" - "strings" - "text/template" - "time" - - servingv1 "knative.dev/serving/pkg/apis/serving/v1" -) - -var revisionNameRand = rand.New(rand.NewSource(time.Now().UnixNano())) //nolint:gosec // Weak crypto is fine here, we use it for generating unique keys. - -var charChoices = []string{ - "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "r", "s", "t", "v", "w", "x", - "y", "z", -} - -type revisionTemplContext struct { - Service string - Generation int64 -} - -func (c *revisionTemplContext) Random(l int) string { - chars := make([]string, 0, l) - for i := 0; i < l; i++ { - //nolint:gosec // Weak crypto is fine here, we use it for generating unique keys. - chars = append(chars, charChoices[revisionNameRand.Int()%len(charChoices)]) - } - return strings.Join(chars, "") -} - -// GenerateRevisionName returns an automatically-generated name suitable for the -// next revision of the given service. -func GenerateRevisionName(nameTempl string, service *servingv1.Service) (string, error) { - templ, err := template.New("revisionName").Parse(nameTempl) - if err != nil { - return "", err - } - context := &revisionTemplContext{ - Service: service.Name, - Generation: service.Generation + 1, - } - buf := new(bytes.Buffer) - err = templ.Execute(buf, context) - if err != nil { - return "", err - } - res := buf.String() - // Empty is ok. - if res == "" { - return res, nil - } - prefix := service.Name + "-" - if !strings.HasPrefix(res, prefix) { - res = prefix + res - } - return res, nil -} diff --git a/vendor/knative.dev/client/pkg/serving/v1/client_mock.go b/vendor/knative.dev/client/pkg/serving/v1/client_mock.go deleted file mode 100644 index ad2a1fb1b..000000000 --- a/vendor/knative.dev/client/pkg/serving/v1/client_mock.go +++ /dev/null @@ -1,282 +0,0 @@ -// Copyright © 2019 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package v1 - -import ( - "context" - "testing" - "time" - - "gotest.tools/v3/assert" - "k8s.io/apimachinery/pkg/fields" - "k8s.io/apimachinery/pkg/labels" - servingv1 "knative.dev/serving/pkg/apis/serving/v1" - - "knative.dev/client/pkg/util/mock" - "knative.dev/client/pkg/wait" -) - -type MockKnServingClient struct { - t *testing.T - recorder *ServingRecorder -} - -// NewMockKnServiceClient returns a new mock instance which you need to record for -func NewMockKnServiceClient(t *testing.T, ns ...string) *MockKnServingClient { - namespace := "default" - if len(ns) > 0 { - namespace = ns[0] - } - return &MockKnServingClient{ - t: t, - recorder: &ServingRecorder{mock.NewRecorder(t, namespace)}, - } -} - -// recorder for service -type ServingRecorder struct { - r *mock.Recorder -} - -// Get the record to start for the recorder -func (c *MockKnServingClient) Recorder() *ServingRecorder { - return c.recorder -} - -// Namespace of this client -func (c *MockKnServingClient) Namespace() string { - return c.recorder.r.Namespace() -} - -// Get Service -func (sr *ServingRecorder) GetService(name interface{}, service *servingv1.Service, err error) { - sr.r.Add("GetService", []interface{}{name}, []interface{}{service, err}) -} - -func (c *MockKnServingClient) GetService(ctx context.Context, name string) (*servingv1.Service, error) { - call := c.recorder.r.VerifyCall("GetService", name) - return call.Result[0].(*servingv1.Service), mock.ErrorOrNil(call.Result[1]) -} - -// List services -func (sr *ServingRecorder) ListServices(opts interface{}, serviceList *servingv1.ServiceList, err error) { - sr.r.Add("ListServices", []interface{}{opts}, []interface{}{serviceList, err}) -} - -func (c *MockKnServingClient) ListServices(ctx context.Context, opts ...ListConfig) (*servingv1.ServiceList, error) { - call := c.recorder.r.VerifyCall("ListServices", opts) - return call.Result[0].(*servingv1.ServiceList), mock.ErrorOrNil(call.Result[1]) -} - -// Create a new service -func (sr *ServingRecorder) CreateService(service interface{}, err error) { - sr.r.Add("CreateService", []interface{}{service}, []interface{}{err}) -} - -func (c *MockKnServingClient) CreateService(ctx context.Context, service *servingv1.Service) error { - call := c.recorder.r.VerifyCall("CreateService", service) - return mock.ErrorOrNil(call.Result[0]) -} - -// Update the given service -func (sr *ServingRecorder) UpdateService(service interface{}, hasChanged bool, err error) { - sr.r.Add("UpdateService", []interface{}{service}, []interface{}{hasChanged, err}) -} - -func (c *MockKnServingClient) UpdateService(ctx context.Context, service *servingv1.Service) (bool, error) { - call := c.recorder.r.VerifyCall("UpdateService", service) - return call.Result[0].(bool), mock.ErrorOrNil(call.Result[1]) -} - -// Delegate to shared retry method -func (c *MockKnServingClient) UpdateServiceWithRetry(ctx context.Context, name string, updateFunc ServiceUpdateFunc, maxRetry int) (bool, error) { - return updateServiceWithRetry(ctx, c, name, updateFunc, maxRetry) -} - -// Update the given service -func (sr *ServingRecorder) ApplyService(service interface{}, hasChanged bool, err error) { - sr.r.Add("ApplyService", []interface{}{service}, []interface{}{hasChanged, err}) -} - -func (c *MockKnServingClient) ApplyService(ctx context.Context, service *servingv1.Service) (bool, error) { - call := c.recorder.r.VerifyCall("ApplyService", service) - return call.Result[0].(bool), mock.ErrorOrNil(call.Result[1]) -} - -// Delete a service by name -func (sr *ServingRecorder) DeleteService(name, timeout interface{}, err error) { - sr.r.Add("DeleteService", []interface{}{name, timeout}, []interface{}{err}) -} - -func (c *MockKnServingClient) DeleteService(ctx context.Context, name string, timeout time.Duration) error { - call := c.recorder.r.VerifyCall("DeleteService", name, timeout) - return mock.ErrorOrNil(call.Result[0]) -} - -// Wait for a service to become ready, but not longer than provided timeout -func (sr *ServingRecorder) WaitForService(name interface{}, wconfig interface{}, callback interface{}, err error, duration time.Duration) { - sr.r.Add("WaitForService", []interface{}{name, wconfig, callback}, []interface{}{err, duration}) -} - -func (c *MockKnServingClient) WaitForService(ctx context.Context, name string, wconfig WaitConfig, msgCallback wait.MessageCallback) (error, time.Duration) { - call := c.recorder.r.VerifyCall("WaitForService", name, wconfig, msgCallback) - return mock.ErrorOrNil(call.Result[0]), call.Result[1].(time.Duration) -} - -// Get a revision by name -func (sr *ServingRecorder) GetRevision(name interface{}, revision *servingv1.Revision, err error) { - sr.r.Add("GetRevision", []interface{}{name}, []interface{}{revision, err}) -} - -func (c *MockKnServingClient) GetRevision(ctx context.Context, name string) (*servingv1.Revision, error) { - call := c.recorder.r.VerifyCall("GetRevision", name) - return call.Result[0].(*servingv1.Revision), mock.ErrorOrNil(call.Result[1]) -} - -// List revisions -func (sr *ServingRecorder) ListRevisions(opts interface{}, revisionList *servingv1.RevisionList, err error) { - sr.r.Add("ListRevisions", []interface{}{opts}, []interface{}{revisionList, err}) -} - -func (c *MockKnServingClient) ListRevisions(ctx context.Context, opts ...ListConfig) (*servingv1.RevisionList, error) { - call := c.recorder.r.VerifyCall("ListRevisions", opts) - return call.Result[0].(*servingv1.RevisionList), mock.ErrorOrNil(call.Result[1]) -} - -// Delete a revision -func (sr *ServingRecorder) DeleteRevision(name, timeout interface{}, err error) { - sr.r.Add("DeleteRevision", []interface{}{name, timeout}, []interface{}{err}) -} - -func (c *MockKnServingClient) DeleteRevision(ctx context.Context, name string, timeout time.Duration) error { - call := c.recorder.r.VerifyCall("DeleteRevision", name, timeout) - return mock.ErrorOrNil(call.Result[0]) -} - -// Wait for a revision to become ready, but not longer than provided timeout -func (sr *ServingRecorder) WaitForRevision(name interface{}, timeout interface{}, callback interface{}, err error, duration time.Duration) { - sr.r.Add("WaitForRevision", []interface{}{name, timeout, callback}, []interface{}{err, duration}) -} - -func (c *MockKnServingClient) WaitForRevision(ctx context.Context, name string, timeout time.Duration, msgCallback wait.MessageCallback) (error, time.Duration) { - call := c.recorder.r.VerifyCall("WaitForRevision", name, timeout, msgCallback) - return mock.ErrorOrNil(call.Result[0]), call.Result[1].(time.Duration) -} - -// Get a route by its unique name -func (sr *ServingRecorder) GetRoute(name interface{}, route *servingv1.Route, err error) { - sr.r.Add("GetRoute", []interface{}{name}, []interface{}{route, err}) -} - -func (c *MockKnServingClient) GetRoute(ctx context.Context, name string) (*servingv1.Route, error) { - call := c.recorder.r.VerifyCall("GetRoute", name) - return call.Result[0].(*servingv1.Route), mock.ErrorOrNil(call.Result[1]) - -} - -// List routes -func (sr *ServingRecorder) ListRoutes(opts interface{}, routeList *servingv1.RouteList, err error) { - sr.r.Add("ListRoutes", []interface{}{opts}, []interface{}{routeList, err}) -} - -func (c *MockKnServingClient) ListRoutes(ctx context.Context, opts ...ListConfig) (*servingv1.RouteList, error) { - call := c.recorder.r.VerifyCall("ListRoutes", opts) - return call.Result[0].(*servingv1.RouteList), mock.ErrorOrNil(call.Result[1]) -} - -// GetConfiguration records a call to GetConfiguration with possible return values -func (sr *ServingRecorder) GetConfiguration(name string, config *servingv1.Configuration, err error) { - sr.r.Add("GetConfiguration", []interface{}{name}, []interface{}{config, err}) - -} - -// GetBaseRevision returns the base revision -func (c *MockKnServingClient) GetBaseRevision(ctx context.Context, service *servingv1.Service) (*servingv1.Revision, error) { - return getBaseRevision(ctx, c, service) -} - -// GetConfiguration returns a configuration looked up by name -func (c *MockKnServingClient) GetConfiguration(ctx context.Context, name string) (*servingv1.Configuration, error) { - call := c.recorder.r.VerifyCall("GetConfiguration", name) - return call.Result[0].(*servingv1.Configuration), mock.ErrorOrNil(call.Result[1]) -} - -// CreateRevision records a call CreateRevision -func (sr *ServingRecorder) CreateRevision(revision interface{}, err error) { - sr.r.Add("CreateRevision", []interface{}{revision}, []interface{}{err}) -} - -// CreateRevision creates a new revision -func (c *MockKnServingClient) CreateRevision(ctx context.Context, revision *servingv1.Revision) error { - call := c.recorder.r.VerifyCall("CreateRevision", revision) - return mock.ErrorOrNil(call.Result[0]) -} - -// UpdateRevision records a call UpdateRevision -func (sr *ServingRecorder) UpdateRevision(revision interface{}, err error) { - sr.r.Add("UpdateRevision", []interface{}{revision}, []interface{}{err}) -} - -// UpdateRevision updates given revision -func (c *MockKnServingClient) UpdateRevision(ctx context.Context, revision *servingv1.Revision) error { - call := c.recorder.r.VerifyCall("UpdateRevision", revision) - return mock.ErrorOrNil(call.Result[0]) -} - -// Check that every recorded method has been called -func (sr *ServingRecorder) Validate() { - sr.r.CheckThatAllRecordedMethodsHaveBeenCalled() -} - -// HasLabelSelector returns a comparable which can be used for asserting that list methods are called -// with the appropriate label selector -func HasLabelSelector(keyAndValues ...string) func(t *testing.T, a interface{}) { - return func(t *testing.T, a interface{}) { - lc := a.([]ListConfig) - listConfigCollector := listConfigCollector{ - Labels: make(labels.Set), - Fields: make(fields.Set), - } - lc[0](&listConfigCollector) - for i := 0; i < len(keyAndValues); i += 2 { - assert.Equal(t, listConfigCollector.Labels[keyAndValues[i]], keyAndValues[i+1]) - } - } -} - -// HasFieldSelector returns a comparable which can be used for asserting that list methods are called -// with the appropriate field selectors -func HasFieldSelector(keyAndValues ...string) func(t *testing.T, a interface{}) { - return func(t *testing.T, a interface{}) { - lc := a.([]ListConfig) - listConfigCollector := listConfigCollector{ - Labels: make(labels.Set), - Fields: make(fields.Set), - } - lc[0](&listConfigCollector) - for i := 0; i < len(keyAndValues); i += 2 { - assert.Equal(t, listConfigCollector.Fields[keyAndValues[i]], keyAndValues[i+1]) - } - } -} - -// HasSelector returns a comparable which can be used for asserting that list methods are called -// with the appropriate label and field selectors -func HasSelector(labelKeysAndValues []string, fieldKeysAndValue []string) func(t *testing.T, a interface{}) { - return func(t *testing.T, a interface{}) { - HasLabelSelector(labelKeysAndValues...)(t, a) - HasFieldSelector(fieldKeysAndValue...)(t, a) - } -} diff --git a/vendor/knative.dev/client/pkg/serving/v1alpha1/client_mock.go b/vendor/knative.dev/client/pkg/serving/v1alpha1/client_mock.go deleted file mode 100644 index 2b773d4ab..000000000 --- a/vendor/knative.dev/client/pkg/serving/v1alpha1/client_mock.go +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright © 2021 The Knative Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES 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 ( - "context" - "testing" - - "knative.dev/client/pkg/util/mock" - servingv1alpha1 "knative.dev/serving/pkg/apis/serving/v1alpha1" -) - -// MockKnServingClient client mock -type MockKnServingClient struct { - t *testing.T - recorder *ServingRecorder -} - -// NewMockKnServiceClient returns a new mock instance which you need to record for -func NewMockKnServiceClient(t *testing.T, ns ...string) *MockKnServingClient { - namespace := "default" - if len(ns) > 0 { - namespace = ns[0] - } - return &MockKnServingClient{ - t: t, - recorder: &ServingRecorder{mock.NewRecorder(t, namespace)}, - } -} - -// ServingRecorder recorder for service -type ServingRecorder struct { - r *mock.Recorder -} - -// Recorder returns the record instance -func (c *MockKnServingClient) Recorder() *ServingRecorder { - return c.recorder -} - -// Validate checks that every recorded method has been called -func (sr *ServingRecorder) Validate() { - sr.r.CheckThatAllRecordedMethodsHaveBeenCalled() -} - -// Namespace of this client -func (c *MockKnServingClient) Namespace() string { - return c.recorder.r.Namespace() -} - -// GetDomainMapping mock function recorder -func (sr *ServingRecorder) GetDomainMapping(name interface{}, domainMapping *servingv1alpha1.DomainMapping, err error) { - sr.r.Add("GetDomainMapping", []interface{}{name}, []interface{}{domainMapping, err}) -} - -// GetDomainMapping mock function -func (c *MockKnServingClient) GetDomainMapping(ctx context.Context, name string) (*servingv1alpha1.DomainMapping, error) { - call := c.recorder.r.VerifyCall("GetDomainMapping", name) - return call.Result[0].(*servingv1alpha1.DomainMapping), mock.ErrorOrNil(call.Result[1]) -} - -// CreateDomainMapping recorder function -func (sr *ServingRecorder) CreateDomainMapping(domainMapping interface{}, err error) { - sr.r.Add("CreateDomainMapping", []interface{}{domainMapping}, []interface{}{err}) -} - -// CreateDomainMapping mock function -func (c *MockKnServingClient) CreateDomainMapping(ctx context.Context, domainMapping *servingv1alpha1.DomainMapping) error { - call := c.recorder.r.VerifyCall("CreateDomainMapping", domainMapping) - return mock.ErrorOrNil(call.Result[0]) -} - -// UpdateDomainMapping recorder function -func (sr *ServingRecorder) UpdateDomainMapping(domainMapping interface{}, err error) { - sr.r.Add("UpdateDomainMapping", []interface{}{domainMapping}, []interface{}{err}) -} - -// UpdateDomainMapping mock function -func (c *MockKnServingClient) UpdateDomainMapping(ctx context.Context, domainMapping *servingv1alpha1.DomainMapping) error { - call := c.recorder.r.VerifyCall("UpdateDomainMapping", domainMapping) - return mock.ErrorOrNil(call.Result[0]) -} - -func (cl *MockKnServingClient) UpdateDomainMappingWithRetry(ctx context.Context, name string, updateFunc DomainUpdateFunc, nrRetries int) error { - return updateDomainMappingWithRetry(ctx, cl, name, updateFunc, nrRetries) -} - -// DeleteDomainMapping recorder function -func (sr *ServingRecorder) DeleteDomainMapping(name string, err error) { - sr.r.Add("DeleteDomainMapping", []interface{}{name}, []interface{}{err}) -} - -// DeleteDomainMapping mock function -func (c *MockKnServingClient) DeleteDomainMapping(ctx context.Context, name string) error { - call := c.recorder.r.VerifyCall("DeleteDomainMapping", name) - return mock.ErrorOrNil(call.Result[0]) -} - -// ListDomainMappings recorder function -func (sr *ServingRecorder) ListDomainMappings(domainMappingList *servingv1alpha1.DomainMappingList, err error) { - sr.r.Add("ListDomainMappings", nil, []interface{}{domainMappingList, err}) -} - -// ListDomainMappings mock function -func (c *MockKnServingClient) ListDomainMappings(ctx context.Context) (*servingv1alpha1.DomainMappingList, error) { - call := c.recorder.r.VerifyCall("ListDomainMappings") - return call.Result[0].(*servingv1alpha1.DomainMappingList), mock.ErrorOrNil(call.Result[1]) -} diff --git a/vendor/modules.txt b/vendor/modules.txt index bd630b27c..e4fe2ccf0 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -193,9 +193,6 @@ 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/maximilien/kn-source-pkg v0.6.3 -## explicit; go 1.15 -github.com/maximilien/kn-source-pkg/test/e2e # github.com/mitchellh/go-homedir v1.1.0 ## explicit github.com/mitchellh/go-homedir @@ -861,32 +858,33 @@ k8s.io/utils/net k8s.io/utils/pointer k8s.io/utils/strings/slices k8s.io/utils/trace -# knative.dev/client v0.36.1-0.20230413134553-7e90298d926d +# knative.dev/client-pkg v0.0.0-20230406095919-30a17e519723 ## explicit; go 1.18 -knative.dev/client/lib/test -knative.dev/client/pkg/apis/client -knative.dev/client/pkg/apis/client/v1alpha1 -knative.dev/client/pkg/config -knative.dev/client/pkg/dynamic -knative.dev/client/pkg/dynamic/fake -knative.dev/client/pkg/errors -knative.dev/client/pkg/eventing/v1 -knative.dev/client/pkg/eventing/v1beta1 -knative.dev/client/pkg/kn/commands -knative.dev/client/pkg/kn/commands/flags -knative.dev/client/pkg/kn/config -knative.dev/client/pkg/kn/flags -knative.dev/client/pkg/kn/plugin -knative.dev/client/pkg/messaging/v1 -knative.dev/client/pkg/printers -knative.dev/client/pkg/serving -knative.dev/client/pkg/serving/v1 -knative.dev/client/pkg/serving/v1alpha1 -knative.dev/client/pkg/sources/v1 -knative.dev/client/pkg/sources/v1beta2 -knative.dev/client/pkg/util -knative.dev/client/pkg/util/mock -knative.dev/client/pkg/wait +knative.dev/client-pkg/pkg/apis/client +knative.dev/client-pkg/pkg/apis/client/v1alpha1 +knative.dev/client-pkg/pkg/config +knative.dev/client-pkg/pkg/dynamic +knative.dev/client-pkg/pkg/dynamic/fake +knative.dev/client-pkg/pkg/errors +knative.dev/client-pkg/pkg/eventing/v1 +knative.dev/client-pkg/pkg/eventing/v1beta1 +knative.dev/client-pkg/pkg/kn-source-pkg/test/e2e +knative.dev/client-pkg/pkg/kn/commands +knative.dev/client-pkg/pkg/kn/commands/flags +knative.dev/client-pkg/pkg/kn/config +knative.dev/client-pkg/pkg/kn/flags +knative.dev/client-pkg/pkg/kn/plugin +knative.dev/client-pkg/pkg/messaging/v1 +knative.dev/client-pkg/pkg/printers +knative.dev/client-pkg/pkg/serving +knative.dev/client-pkg/pkg/serving/v1 +knative.dev/client-pkg/pkg/serving/v1alpha1 +knative.dev/client-pkg/pkg/sources/v1 +knative.dev/client-pkg/pkg/sources/v1beta2 +knative.dev/client-pkg/pkg/util +knative.dev/client-pkg/pkg/util/mock +knative.dev/client-pkg/pkg/util/test +knative.dev/client-pkg/pkg/wait # knative.dev/eventing v0.36.1-0.20230411013349-3224e50c7263 ## explicit; go 1.18 knative.dev/eventing/pkg/apis/config