package path
import "k8s.io/apimachinery/pkg/api/validation/path"
Index ¶
Variables ¶
var IsValidPathSegmentName = content.IsPathSegmentName
IsValidPathSegmentName validates the name can be safely encoded as a path segment
Deprecated: use content.IsPathSegmentName directly.
var IsValidPathSegmentPrefix = content.IsPathSegmentPrefix
IsValidPathSegmentPrefix validates the name can be used as a prefix for a name which will be encoded as a path segment It does not check for exact matches with disallowed names, since an arbitrary suffix might make the name valid
Deprecated: use content.IsPathSegmentPrefix directly.
Functions ¶
func ValidatePathSegmentName ¶
ValidatePathSegmentName validates the name can be safely encoded as a path segment
Deprecated: use a locally defined function.
Source Files ¶
name.go
- Version
- v0.36.0 (latest)
- Published
- Apr 22, 2026
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 1 hour ago –
Tools for package owners.