enforce package import restrictions on TSB
"github.com/openshift/origin/pkg/api/install",
"github.com/openshift/origin/test/util/api"
]
+ },
+
+ {
+ "checkedPackageRoots": [
+ "github.com/openshift/origin/pkg/openservicebroker"
+ ],
+ "allowedImportPackageRoots": [
+ "vendor/k8s.io/apimachinery",
+ "vendor/k8s.io/apiserver",
+ "vendor/k8s.io/client-go",
+ "vendor/github.com/spf13/cobra",
+ "vendor/golang.org",
+ "github.com/openshift/origin/pkg/template/generated"
+ ],
+ "allowedImportPackages": [
+ "vendor/github.com/golang/glog",
+ "vendor/k8s.io/kubernetes/pkg/api",
+ "vendor/github.com/emicklei/go-restful",
+ "vendor/github.com/lestrrat/go-jsschema",
+ "vendor/k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset",
+ "vendor/k8s.io/kubernetes/pkg/controller",
+ "github.com/openshift/origin/pkg/api",
+ "github.com/openshift/origin/pkg/cmd/server/bootstrappolicy",
+ "github.com/openshift/origin/pkg/template/apis/template",
+ "github.com/openshift/origin/pkg/template/servicebroker"
+ ]
}
]
\ No newline at end of file
