mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-29 21:29:24 +00:00
e2e: revise import restrictions
- 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.
This commit is contained in:
9
test/e2e/framework/network/.import-restrictions
Normal file
9
test/e2e/framework/network/.import-restrictions
Normal file
@@ -0,0 +1,9 @@
|
||||
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||
# dependencies, therefore we need to override the restrictions from
|
||||
# the parent .import-restrictions file.
|
||||
#
|
||||
# At some point it may become useful to also check this package's
|
||||
# dependencies more careful.
|
||||
rules:
|
||||
- selectorRegexp: ""
|
||||
allowedPrefixes: [ "" ]
|
||||
Reference in New Issue
Block a user