{"modulePath":"github.1git.de/openshift/origin","version":"v1.5.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\nPackage api is the internal version of the API.\n\n## Constants\n\n```go\nconst (\n\t// ProjectNodeSelector is an annotation that holds the node selector;\n\t// the node selector annotation determines which nodes will have pods from this project scheduled to them\n\tProjectNodeSelector = \"openshift.io/node-selector\"\n\t// ProjectRequester is the username that requested a given project.  Its not guaranteed to be present,\n\t// but it is set by the default project template.\n\tProjectRequester = \"openshift.io/requester\"\n)\n```\nThese constants represent annotations keys affixed to projects\n\n```go\nconst (\n\t// These are internal finalizer values to Origin\n\tFinalizerOrigin kapi.FinalizerName = \"openshift.io/origin\"\n)\n```\n\n```go\nconst FutureGroupName = \"project.openshift.io\"\n```\n\n```go\nconst GroupName = \"\"\n```\n\n## Variables\n\n```go\nvar (\n\tSchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)\n\tAddToScheme   = SchemeBuilder.AddToScheme\n)\n```\n\n```go\nvar SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}\n```\nSchemeGroupVersion is group version used to register these objects\n\n## Functions\n\n```go\nfunc DeepCopy_api_Project(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_api_ProjectList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_api_ProjectRequest(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_api_ProjectSpec(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc DeepCopy_api_ProjectStatus(in interface{}, out interface{}, c *conversion.Cloner) error\n```\n\n```go\nfunc Kind(kind string) unversioned.GroupKind\n```\nKind takes an unqualified kind and returns back a Group qualified GroupKind\n\n```go\nfunc RegisterDeepCopies(scheme *runtime.Scheme) error\n```\nRegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.\n\n```go\nfunc Resource(resource string) unversioned.GroupResource\n```\nResource takes an unqualified resource and returns back a Group qualified GroupResource\n\n## Types\n\n```go\ntype Project struct {\n\tunversioned.TypeMeta\n\tkapi.ObjectMeta\n\n\tSpec   ProjectSpec\n\tStatus ProjectStatus\n}\n```\nProject is a logical top-level container for a set of origin resources\n\n```go\nfunc (obj *Project) GetObjectKind() unversioned.ObjectKind\n```\n\n```go\ntype ProjectList struct {\n\tunversioned.TypeMeta\n\tunversioned.ListMeta\n\tItems []Project\n}\n```\nProjectList is a list of Project objects.\n\n```go\nfunc (obj *ProjectList) GetObjectKind() unversioned.ObjectKind\n```\n\n```go\ntype ProjectRequest struct {\n\tunversioned.TypeMeta\n\tkapi.ObjectMeta\n\tDisplayName string\n\tDescription string\n}\n```\n\n```go\nfunc (obj *ProjectRequest) GetObjectKind() unversioned.ObjectKind\n```\n\n```go\ntype ProjectSpec struct {\n\t// Finalizers is an opaque list of values that must be empty to permanently remove object from storage\n\tFinalizers []kapi.FinalizerName\n}\n```\nProjectSpec describes the attributes on a Project\n\n```go\ntype ProjectStatus struct {\n\tPhase kapi.NamespacePhase\n}\n```\nProjectStatus is information about the current status of a Project\n\n","path":"github.1git.de/openshift/origin/pkg/project/api","name":"api","synopsis":"Package api is the internal version of the API.","isRedistributable":true}
