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.6-beta.0
- Published
- Aug 31, 2017
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 11 minutes ago –
Tools for package owners.