- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for InverseRules (0.33 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/.import-restrictions
inverseRules: # Allow use of this package in all k8s.io packages. - selectorRegexp: k8s[.]io allowedPrefixes:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 28 09:51:46 UTC 2020 - 129 bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/.import-restrictions
inverseRules: # Allow use of this package in all k8s.io packages. - selectorRegexp: k8s[.]io allowedPrefixes:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 28 09:51:46 UTC 2020 - 129 bytes - Viewed (0) -
cmd/import-boss/README.md
made, the import will be flagged as an error. ### What are rules files? A rules file is a JSON or YAML document with two top-level keys, both optional: * `Rules` * `InverseRules` ### What are Rules? A `rule` defines a policy to be enforced on packages which are depended on by the package in question. It consists of three parts:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:36 UTC 2024 - 3.3K bytes - Viewed (0) -
cmd/import-boss/testdata/inverse/forbidden/.import-restrictions
inverseRules: - selectorRegexp: k8s[.]io forbiddenPrefixes:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:36 UTC 2024 - 129 bytes - Viewed (0) -
cmd/import-boss/testdata/transitive/allowed/.import-restrictions
inverseRules: - selectorRegexp: k8s[.]io allowedPrefixes: - k8s.io/kubernetes/cmd/import-boss/testdata/transitive/aaa
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:36 UTC 2024 - 151 bytes - Viewed (0) -
cmd/import-boss/testdata/inverse/allowed/.import-restrictions
inverseRules: - selectorRegexp: k8s[.]io allowedPrefixes:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:36 UTC 2024 - 127 bytes - Viewed (0) -
cmd/import-boss/testdata/transitive/forbidden/.import-restrictions
inverseRules: - selectorRegexp: k8s[.]io forbiddenPrefixes: - k8s.io/kubernetes/cmd/import-boss/testdata/transitive/aaa
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:36 UTC 2024 - 153 bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/.import-restrictions
inverseRules: # Allow Internal packages only in apiextensions-apiserver itself, discourage use elsewhere. - selectorRegexp: k8s[.]io/apiextensions-apiserver allowedPrefixes: - '' # Allow use from within e2e tests. - selectorRegexp: k8s[.]io/kubernetes/test allowedPrefixes: - k8s.io/kubernetes/test/e2e/apimachinery # Forbid use of this package in other k8s.io packages. - selectorRegexp: k8s[.]io forbiddenPrefixes:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:21 UTC 2024 - 464 bytes - Viewed (0) -
cmd/import-boss/main.go
return filepath.Dir(pkg.GoFiles[0]) } if len(pkg.IgnoredFiles) > 0 { return filepath.Dir(pkg.IgnoredFiles[0]) } return "" } type FileFormat struct { Rules []Rule InverseRules []Rule path string } // A single import restriction rule. type Rule struct { // All import paths that match this regexp... SelectorRegexp string // ... must have one of these prefixes ...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 12:36:49 UTC 2024 - 14.7K bytes - Viewed (0)