forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
swagger_doc.go
88 lines (71 loc) · 4.25 KB
/
swagger_doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
package v1
// This file contains methods that can be used by the go-restful package to generate Swagger
// documentation for the object types found in 'types.go' This file is automatically generated
// by hack/update-generated-swagger-descriptions.sh and should be run after a full build of OpenShift.
// ==== DO NOT EDIT THIS FILE MANUALLY ====
var map_AppliedClusterResourceQuota = map[string]string{
"": "AppliedClusterResourceQuota mirrors ClusterResourceQuota at a project scope, for projection into a project. It allows a project-admin to know which ClusterResourceQuotas are applied to his project and their associated usage.",
"metadata": "Standard object's metadata.",
"spec": "Spec defines the desired quota",
"status": "Status defines the actual enforced quota and its current usage",
}
func (AppliedClusterResourceQuota) SwaggerDoc() map[string]string {
return map_AppliedClusterResourceQuota
}
var map_AppliedClusterResourceQuotaList = map[string]string{
"": "AppliedClusterResourceQuotaList is a collection of AppliedClusterResourceQuotas",
"metadata": "Standard object's metadata.",
"items": "Items is a list of AppliedClusterResourceQuota",
}
func (AppliedClusterResourceQuotaList) SwaggerDoc() map[string]string {
return map_AppliedClusterResourceQuotaList
}
var map_ClusterResourceQuota = map[string]string{
"": "ClusterResourceQuota mirrors ResourceQuota at a cluster scope. This object is easily convertible to synthetic ResourceQuota object to allow quota evaluation re-use.",
"metadata": "Standard object's metadata.",
"spec": "Spec defines the desired quota",
"status": "Status defines the actual enforced quota and its current usage",
}
func (ClusterResourceQuota) SwaggerDoc() map[string]string {
return map_ClusterResourceQuota
}
var map_ClusterResourceQuotaList = map[string]string{
"": "ClusterResourceQuotaList is a collection of ClusterResourceQuotas",
"metadata": "Standard object's metadata.",
"items": "Items is a list of ClusterResourceQuotas",
}
func (ClusterResourceQuotaList) SwaggerDoc() map[string]string {
return map_ClusterResourceQuotaList
}
var map_ClusterResourceQuotaSelector = map[string]string{
"": "ClusterResourceQuotaSelector is used to select projects. At least one of LabelSelector or AnnotationSelector must present. If only one is present, it is the only selection criteria. If both are specified, the project must match both restrictions.",
"labels": "LabelSelector is used to select projects by label.",
"annotations": "AnnotationSelector is used to select projects by annotation.",
}
func (ClusterResourceQuotaSelector) SwaggerDoc() map[string]string {
return map_ClusterResourceQuotaSelector
}
var map_ClusterResourceQuotaSpec = map[string]string{
"": "ClusterResourceQuotaSpec defines the desired quota restrictions",
"selector": "Selector is the selector used to match projects. It should only select active projects on the scale of dozens (though it can select many more less active projects). These projects will contend on object creation through this resource.",
"quota": "Quota defines the desired quota",
}
func (ClusterResourceQuotaSpec) SwaggerDoc() map[string]string {
return map_ClusterResourceQuotaSpec
}
var map_ClusterResourceQuotaStatus = map[string]string{
"": "ClusterResourceQuotaStatus defines the actual enforced quota and its current usage",
"total": "Total defines the actual enforced quota and its current usage across all projects",
"namespaces": "Namespaces slices the usage by project. This division allows for quick resolution of deletion reconciliation inside of a single project without requiring a recalculation across all projects. This can be used to pull the deltas for a given project.",
}
func (ClusterResourceQuotaStatus) SwaggerDoc() map[string]string {
return map_ClusterResourceQuotaStatus
}
var map_ResourceQuotaStatusByNamespace = map[string]string{
"": "ResourceQuotaStatusByNamespace gives status for a particular project",
"namespace": "Namespace the project this status applies to",
"status": "Status indicates how many resources have been consumed by this project",
}
func (ResourceQuotaStatusByNamespace) SwaggerDoc() map[string]string {
return map_ResourceQuotaStatusByNamespace
}