mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-28 13:45:50 +00:00
- test/e2e/framework/*.go should have very minimal dependencies. We can enforce that via import-boss. - What each test/e2e/framework/* sub-package uses is less relevant, although ideally it also should be as minimal as possible in each case. Enforcing this via import-boss ensures that new dependencies get flagged as problem and thus will get additional scrutiny. It might be okay to add them, but it needs to be considered.
7 lines
278 B
Plaintext
7 lines
278 B
Plaintext
rules:
|
|
# prevent any k8s.io/kubernetes/third_party imports outside of this package
|
|
# External Packages are used in the network/dns_common.go path
|
|
- selectorRegexp: k8s[.]io/kubernetes/third_party/
|
|
allowedPrefixes:
|
|
- k8s.io/kubernetes/third_party/forked/golang/net
|