github.com/codeready-toolchain/api@v0.0.0-20240507023248-73662d6db2c5/api/v1alpha1/spacenamespaces.go (about)

     1  package v1alpha1
     2  
     3  const NamespaceTypeDefault = "default"
     4  
     5  // SpaceNamespace is a common type to define the information about a namespace within a Space
     6  // Used in NSTemplateSet, Space and Workspace status
     7  type SpaceNamespace struct {
     8  
     9  	// Name the name of the namespace.
    10  	// +optional
    11  	Name string `json:"name,omitempty"`
    12  
    13  	// Type the type of the namespace. eg. default
    14  	// +optional
    15  	Type string `json:"type,omitempty"`
    16  }