|
|
@@ -0,0 +1,33 @@
|
|
|
+# Backends shouldn't depend on other backends or the cli
|
|
|
+- path: ./aci
|
|
|
+ forbiddenImports:
|
|
|
+ - github.com/docker/api/cli
|
|
|
+ - github.com/docker/api/ecs
|
|
|
+ - github.com/docker/api/example
|
|
|
+ - github.com/docker/api/local
|
|
|
+ - github.com/docker/api/metrics
|
|
|
+ - github.com/docker/api/server
|
|
|
+- path: ./ecs
|
|
|
+ forbiddenImports:
|
|
|
+ - github.com/docker/api/aci
|
|
|
+ - github.com/docker/api/cli
|
|
|
+ - github.com/docker/api/example
|
|
|
+ - github.com/docker/api/local
|
|
|
+ - github.com/docker/api/metrics
|
|
|
+ - github.com/docker/api/server
|
|
|
+- path: ./example
|
|
|
+ forbiddenImports:
|
|
|
+ - github.com/docker/api/aci
|
|
|
+ - github.com/docker/api/cli
|
|
|
+ - github.com/docker/api/ecs
|
|
|
+ - github.com/docker/api/local
|
|
|
+ - github.com/docker/api/metrics
|
|
|
+ - github.com/docker/api/server
|
|
|
+- path: ./local
|
|
|
+ forbiddenImports:
|
|
|
+ - github.com/docker/api/aci
|
|
|
+ - github.com/docker/api/cli
|
|
|
+ - github.com/docker/api/ecs
|
|
|
+ - github.com/docker/api/example
|
|
|
+ - github.com/docker/api/metrics
|
|
|
+ - github.com/docker/api/server
|