Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull in depcheck, start queue-proxy blocklist #9954

Merged
merged 2 commits into from
Oct 27, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions cmd/queue/nodeps_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
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 main_test

import (
"testing"

"knative.dev/pkg/depcheck"
)

func TestNoDeps(t *testing.T) {
depcheck.AssertNoDependency(t, map[string][]string{
"knative.dev/serving/cmd/queue": {
"k8s.io/apimachinery/pkg/api/apitesting/fuzzer",
// TODO(mattmoor): "k8s.io/client-go/informers",
},
})
}
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ require (
k8s.io/code-generator v0.18.8
k8s.io/kube-openapi v0.0.0-20200410145947-bcb3869e6f29
knative.dev/caching v0.0.0-20201027015333-11e52bba5431
knative.dev/networking v0.0.0-20201027015433-dc85b99d4646
knative.dev/pkg v0.0.0-20201027121533-273ba59a1132
knative.dev/networking v0.0.0-20201027142134-8af985560ccc
knative.dev/pkg v0.0.0-20201027164233-38578c3cf454
knative.dev/test-infra v0.0.0-20201026182042-46291de4ab66
)

Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1869,8 +1869,8 @@ knative.dev/caching v0.0.0-20201027015333-11e52bba5431 h1:gFmwlbIe99ncJ6MLRxl/yq
knative.dev/caching v0.0.0-20201027015333-11e52bba5431/go.mod h1:0zQFzG/BlpzwnM1bchUJ+BSnmhRfcCQU7tDLY0HYsxE=
knative.dev/eventing-contrib v0.6.1-0.20190723221543-5ce18048c08b/go.mod h1:SnXZgSGgMSMLNFTwTnpaOH7hXDzTFtw0J8OmHflNx3g=
knative.dev/eventing-contrib v0.11.2/go.mod h1:SnXZgSGgMSMLNFTwTnpaOH7hXDzTFtw0J8OmHflNx3g=
knative.dev/networking v0.0.0-20201027015433-dc85b99d4646 h1:LRoUhHaLzY1xjOm4MQDX8Fkiza4eBchmDfUZrHIhTA0=
knative.dev/networking v0.0.0-20201027015433-dc85b99d4646/go.mod h1:/mLGyEaEfNpN37e7IadRneWrpWjLBh+HZMb8vLn0Br8=
knative.dev/networking v0.0.0-20201027142134-8af985560ccc h1:wJCjfOJICnubuyEN+HVrE0M8/BzN7gkjPuUdzBOOC3s=
knative.dev/networking v0.0.0-20201027142134-8af985560ccc/go.mod h1:PyGh4m47lwRUqwbMgXkIAMblOxZI1TO95zB/33rtK/g=
knative.dev/pkg v0.0.0-20191101194912-56c2594e4f11/go.mod h1:pgODObA1dTyhNoFxPZTTjNWfx6F0aKsKzn+vaT9XO/Q=
knative.dev/pkg v0.0.0-20191111150521-6d806b998379/go.mod h1:pgODObA1dTyhNoFxPZTTjNWfx6F0aKsKzn+vaT9XO/Q=
knative.dev/pkg v0.0.0-20200207155214-fef852970f43/go.mod h1:pgODObA1dTyhNoFxPZTTjNWfx6F0aKsKzn+vaT9XO/Q=
Expand All @@ -1883,6 +1883,8 @@ knative.dev/pkg v0.0.0-20201026232541-37583c54bfc3 h1:YnoV/NKU0jt607ub1ra1RqCWMc
knative.dev/pkg v0.0.0-20201026232541-37583c54bfc3/go.mod h1:pc2VrtK69NrLtGMc6Gu0BL8IOfmph6KNvIDVrFqqW3Q=
knative.dev/pkg v0.0.0-20201027121533-273ba59a1132 h1:P6/b3Bi+CcLQkjuDKNs2uE96MXa+uxJJ0PUGHe1Caoo=
knative.dev/pkg v0.0.0-20201027121533-273ba59a1132/go.mod h1:vytY2kpkAbUm8yDIzJrLEgJ7FK/ieWuQDo4cNavAwuc=
knative.dev/pkg v0.0.0-20201027164233-38578c3cf454 h1:jP2zmOYBWweMDwgTmeayGns8gPUnULTaILjwnrEyM9g=
knative.dev/pkg v0.0.0-20201027164233-38578c3cf454/go.mod h1:1U2tVhAYAd/9cwMwd/4A1YQ28DxuxbX8U89E52lshw0=
knative.dev/test-infra v0.0.0-20200407185800-1b88cb3b45a5/go.mod h1:xcdUkMJrLlBswIZqL5zCuBFOC22WIPMQoVX1L35i0vQ=
knative.dev/test-infra v0.0.0-20200505052144-5ea2f705bb55/go.mod h1:WqF1Azka+FxPZ20keR2zCNtiQA1MP9ZB4BH4HuI+SIU=
knative.dev/test-infra v0.0.0-20200513011557-d03429a76034/go.mod h1:aMif0KXL4g19YCYwsy4Ocjjz5xgPlseYV+B95Oo4JGE=
Expand Down
109 changes: 109 additions & 0 deletions vendor/golang.org/x/tools/go/gcexportdata/gcexportdata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 73 additions & 0 deletions vendor/golang.org/x/tools/go/gcexportdata/importer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading