{"modulePath":"github.com/UnityTech/client-go","version":"v2.0.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package path\n\n## Variables\n\n```go\nvar NameMayNotBe = []string{\".\", \"..\"}\n```\nNameMayNotBe specifies strings that cannot be used as names specified as path segments (like the REST API or etcd store)\n\n```go\nvar NameMayNotContain = []string{\"/\", \"%\"}\n```\nNameMayNotContain specifies substrings that cannot be used in names specified as path segments (like the REST API or etcd store)\n\n## Functions\n\n```go\nfunc IsValidPathSegmentName(name string) []string\n```\nIsValidPathSegmentName validates the name can be safely encoded as a path segment\n\n```go\nfunc IsValidPathSegmentPrefix(name string) []string\n```\nIsValidPathSegmentPrefix 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\n\n```go\nfunc ValidatePathSegmentName(name string, prefix bool) []string\n```\nValidatePathSegmentName validates the name can be safely encoded as a path segment\n\n","path":"github.com/UnityTech/client-go/pkg/api/validation/path","name":"path","synopsis":"","isRedistributable":true}
