package path
import "k8s.io/kubernetes/cmd/libs/go2idl/client-gen/path"
Index ¶
Functions ¶
func Vendorless ¶
Vendorless removes the longest match of "*/vendor/" from the front of p. It is useful if a package locates in vendor/, e.g., k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1, because gengo indexes the package with its import path, e.g., k8s.io/apimachinery/pkg/apis/meta/v1,
Source Files ¶
path.go
- Version
- v1.7.14-beta.0
- Published
- Feb 26, 2018
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 9 minutes ago –
Tools for package owners.