 Documentation
      ¶
      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" )
      View Source
      
  
const GroupName = ""
    Variables ¶
      View Source
      
  var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1beta3"}
    SchemeGroupVersion is group version used to register these objects
Functions ¶
Types ¶
type Project ¶
type Project struct {
	unversioned.TypeMeta `json:",inline"`
	kapi.ObjectMeta      `json:"metadata,omitempty"`
	// Spec defines the behavior of the Namespace.
	Spec ProjectSpec `json:"spec,omitempty"`
	// Status describes the current status of a Namespace
	Status ProjectStatus `json:"status,omitempty"`
}
    Project is a logical top-level container for a set of origin resources
func (*Project) GetObjectKind ¶ added in v1.1.3
func (obj *Project) GetObjectKind() unversioned.ObjectKind
type ProjectList ¶
type ProjectList struct {
	unversioned.TypeMeta `json:",inline"`
	unversioned.ListMeta `json:"metadata,omitempty"`
	Items                []Project `json:"items"`
}
    ProjectList is a list of Project objects.
func (*ProjectList) GetObjectKind ¶ added in v1.1.3
func (obj *ProjectList) GetObjectKind() unversioned.ObjectKind
type ProjectRequest ¶
type ProjectRequest struct {
	unversioned.TypeMeta `json:",inline"`
	kapi.ObjectMeta      `json:"metadata,omitempty"`
	DisplayName          string `json:"displayName,omitempty"`
	Description          string `json:"description,omitempty"`
}
    func (*ProjectRequest) GetObjectKind ¶ added in v1.1.3
func (obj *ProjectRequest) GetObjectKind() unversioned.ObjectKind
type ProjectSpec ¶
type ProjectSpec struct {
	// Finalizers is an opaque list of values that must be empty to permanently remove object from storage
	Finalizers []kapi.FinalizerName `json:"finalizers,omitempty"`
}
    ProjectSpec describes the attributes on a Project
type ProjectStatus ¶
type ProjectStatus struct {
	Phase kapi.NamespacePhase `json:"phase,omitempty"`
}
    ProjectStatus is information about the current status of a Project
       Source Files
      ¶
      Source Files
      ¶
    
- register.go
- types.go
 Click to show internal directories. 
   Click to hide internal directories.