{"modulePath":"github.com/openshift-hyperfleet/hyperfleet-api","version":"v0.4.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package validation\n\n## Functions\n\n```go\nfunc IsForbiddenIdentityHeaderName(name string) bool\n```\nIsForbiddenIdentityHeaderName reports whether name must not be used as the caller identity header.\n\n```go\nfunc IsForbiddenJWTSourceHeaderName(name string) bool\n```\nIsForbiddenJWTSourceHeaderName reports whether name must not be used as the JWT token source header.\n\n```go\nfunc IsValidHeaderName(name string) bool\n```\nIsValidHeaderName reports whether name is a syntactically valid HTTP header field name. A value like \"X Tenant\" or \"   \" isn't caught by an empty-string check but can never match a real request header, so config-sourced names should be validated here before being trusted for r.Header.Get lookups.\n\n","path":"github.com/openshift-hyperfleet/hyperfleet-api/pkg/validation","name":"validation","synopsis":"","isRedistributable":true}
