summaryrefslogtreecommitdiff
path: root/vendor/github.com/openshift/api/config/v1/types_project.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/openshift/api/config/v1/types_project.go')
-rw-r--r--vendor/github.com/openshift/api/config/v1/types_project.go54
1 files changed, 0 insertions, 54 deletions
diff --git a/vendor/github.com/openshift/api/config/v1/types_project.go b/vendor/github.com/openshift/api/config/v1/types_project.go
deleted file mode 100644
index 244ce3ef8..000000000
--- a/vendor/github.com/openshift/api/config/v1/types_project.go
+++ /dev/null
@@ -1,54 +0,0 @@
-package v1
-
-import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
-
-// +genclient
-// +genclient:nonNamespaced
-// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
-
-// Project holds cluster-wide information about Project. The canonical name is `cluster`
-type Project struct {
- metav1.TypeMeta `json:",inline"`
- metav1.ObjectMeta `json:"metadata,omitempty"`
-
- // spec holds user settable values for configuration
- // +kubebuilder:validation:Required
- // +required
- Spec ProjectSpec `json:"spec"`
- // status holds observed values from the cluster. They may not be overridden.
- // +optional
- Status ProjectStatus `json:"status"`
-}
-
-// TemplateReference references a template in a specific namespace.
-// The namespace must be specified at the point of use.
-type TemplateReference struct {
- // name is the metadata.name of the referenced project request template
- Name string `json:"name"`
-}
-
-// ProjectSpec holds the project creation configuration.
-type ProjectSpec struct {
- // projectRequestMessage is the string presented to a user if they are unable to request a project via the projectrequest api endpoint
- // +optional
- ProjectRequestMessage string `json:"projectRequestMessage"`
-
- // projectRequestTemplate is the template to use for creating projects in response to projectrequest.
- // This must point to a template in 'openshift-config' namespace. It is optional.
- // If it is not specified, a default template is used.
- //
- // +optional
- ProjectRequestTemplate TemplateReference `json:"projectRequestTemplate"`
-}
-
-type ProjectStatus struct {
-}
-
-// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
-
-type ProjectList struct {
- metav1.TypeMeta `json:",inline"`
- metav1.ListMeta `json:"metadata"`
-
- Items []Project `json:"items"`
-}