{"modulePath":"github.phpd.cn/openshift/origin","version":"v1.5.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package validation\n\n## Functions\n\n```go\nfunc ValidateProject(project *api.Project) field.ErrorList\n```\nValidateProject tests required fields for a Project. This should only be called when creating a project (not on update), since its name validation is more restrictive than default namespace name validation\n\n```go\nfunc ValidateProjectName(name string, prefix bool) []string\n```\n\n```go\nfunc ValidateProjectRequest(request *api.ProjectRequest) field.ErrorList\n```\n\n```go\nfunc ValidateProjectUpdate(newProject *api.Project, oldProject *api.Project) field.ErrorList\n```\nValidateProjectUpdate tests to make sure a project update can be applied.  Modifies newProject with immutable fields.\n\n","path":"github.phpd.cn/openshift/origin/pkg/project/api/validation","name":"validation","synopsis":"","isRedistributable":true}
