Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ProjectDisplayName is an annotation that stores the name displayed when querying for projects ProjectDisplayName = "openshift.io/display-name" // ProjectDescription is an annotatoion that holds the description of the project ProjectDescription = "openshift.io/description" // ProjectNodeSelector is an annotation that holds the node selector; // the node selector annotation determines which nodes will have pods from this project scheduled to them ProjectNodeSelector = "openshift.io/node-selector" )
These constants represent annotations keys affixed to projects
View Source
const ( // These are internal finalizer values to Origin FinalizerOrigin kapi.FinalizerName = "openshift.io/origin" )
Variables ¶
This section is empty.
Functions ¶
func DisplayNameAndNameForProject ¶ added in v0.5.3
DisplayNameAndNameForProject returns a formatted string containing the name of the project and includes the display name if it differs.
Types ¶
type Project ¶
type Project struct { kapi.TypeMeta kapi.ObjectMeta Spec ProjectSpec Status ProjectStatus }
Project is a logical top-level container for a set of origin resources
func (*Project) IsAnAPIObject ¶
func (*Project) IsAnAPIObject()
type ProjectList ¶
ProjectList is a list of Project objects.
func (*ProjectList) IsAnAPIObject ¶
func (*ProjectList) IsAnAPIObject()
type ProjectRequest ¶ added in v0.4.4
func (*ProjectRequest) IsAnAPIObject ¶ added in v0.4.4
func (*ProjectRequest) IsAnAPIObject()
type ProjectSpec ¶ added in v0.4.2
type ProjectSpec struct { // Finalizers is an opaque list of values that must be empty to permanently remove object from storage Finalizers []kapi.FinalizerName }
ProjectSpec describes the attributes on a Project
type ProjectStatus ¶ added in v0.4.2
type ProjectStatus struct {
Phase kapi.NamespacePhase
}
ProjectStatus is information about the current status of a Project
Click to show internal directories.
Click to hide internal directories.