-
Notifications
You must be signed in to change notification settings - Fork 74
/
zz_generated.swagger_doc_generated.go
100 lines (80 loc) · 5.67 KB
/
zz_generated.swagger_doc_generated.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
89
90
91
92
93
94
95
96
97
98
99
100
package v1beta2
// This file contains a collection of methods that can be used from go-restful to
// generate Swagger API documentation for its models. Please read this PR for more
// information on the implementation: https://github.com/emicklei/go-restful/pull/215
//
// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
// they are on one line! For multiple line or blocks that you want to ignore use ---.
// Any context after a --- is ignored.
//
// Those methods can be generated by using hack/update-swagger-docs.sh
// AUTO-GENERATED FUNCTIONS START HERE
var map_ManagedClusterSelector = map[string]string{
"": "ManagedClusterSelector represents a selector of ManagedClusters",
"selectorType": "SelectorType could only be \"ExclusiveClusterSetLabel\" or \"LabelSelector\" \"ExclusiveClusterSetLabel\" means to use label \"cluster.open-cluster-management.io/clusterset:<ManagedClusterSet Name>\"\" to select target clusters. \"LabelSelector\" means use labelSelector to select target managedClusters",
"labelSelector": "LabelSelector define the general labelSelector which clusterset will use to select target managedClusters",
}
func (ManagedClusterSelector) SwaggerDoc() map[string]string {
return map_ManagedClusterSelector
}
var map_ManagedClusterSet = map[string]string{
"": "ManagedClusterSet defines a group of ManagedClusters that you can run workloads on. You can define a workload to be deployed on a ManagedClusterSet. See the following options for the workload: - The workload can run on any ManagedCluster in the ManagedClusterSet - The workload cannot run on any ManagedCluster outside the ManagedClusterSet - The service exposed by the workload can be shared in any ManagedCluster in the ManagedClusterSet\n\nTo assign a ManagedCluster to a certain ManagedClusterSet, add a label with the name cluster.open-cluster-management.io/clusterset on the ManagedCluster to refer to the ManagedClusterSet. You are not allowed to add or remove this label on a ManagedCluster unless you have an RBAC rule to CREATE on a virtual subresource of managedclustersets/join. To update this label, you must have the permission on both the old and new ManagedClusterSet.",
"spec": "Spec defines the attributes of the ManagedClusterSet",
"status": "Status represents the current status of the ManagedClusterSet",
}
func (ManagedClusterSet) SwaggerDoc() map[string]string {
return map_ManagedClusterSet
}
var map_ManagedClusterSetList = map[string]string{
"": "ManagedClusterSetList is a collection of ManagedClusterSet.",
"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
"items": "Items is a list of ManagedClusterSet.",
}
func (ManagedClusterSetList) SwaggerDoc() map[string]string {
return map_ManagedClusterSetList
}
var map_ManagedClusterSetSpec = map[string]string{
"": "ManagedClusterSetSpec describes the attributes of the ManagedClusterSet",
"clusterSelector": "ClusterSelector represents a selector of ManagedClusters",
}
func (ManagedClusterSetSpec) SwaggerDoc() map[string]string {
return map_ManagedClusterSetSpec
}
var map_ManagedClusterSetStatus = map[string]string{
"": "ManagedClusterSetStatus represents the current status of the ManagedClusterSet.",
"conditions": "Conditions contains the different condition statuses for this ManagedClusterSet.",
}
func (ManagedClusterSetStatus) SwaggerDoc() map[string]string {
return map_ManagedClusterSetStatus
}
var map_ManagedClusterSetBinding = map[string]string{
"": "ManagedClusterSetBinding projects a ManagedClusterSet into a certain namespace. You can create a ManagedClusterSetBinding in a namespace and bind it to a ManagedClusterSet if both have a RBAC rules to CREATE on the virtual subresource of managedclustersets/bind. Workloads that you create in the same namespace can only be distributed to ManagedClusters in ManagedClusterSets that are bound in this namespace by higher-level controllers.",
"spec": "Spec defines the attributes of ManagedClusterSetBinding.",
"status": "Status represents the current status of the ManagedClusterSetBinding",
}
func (ManagedClusterSetBinding) SwaggerDoc() map[string]string {
return map_ManagedClusterSetBinding
}
var map_ManagedClusterSetBindingList = map[string]string{
"": "ManagedClusterSetBindingList is a collection of ManagedClusterSetBinding.",
"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
"items": "Items is a list of ManagedClusterSetBinding.",
}
func (ManagedClusterSetBindingList) SwaggerDoc() map[string]string {
return map_ManagedClusterSetBindingList
}
var map_ManagedClusterSetBindingSpec = map[string]string{
"": "ManagedClusterSetBindingSpec defines the attributes of ManagedClusterSetBinding.",
"clusterSet": "ClusterSet is the name of the ManagedClusterSet to bind. It must match the instance name of the ManagedClusterSetBinding and cannot change once created. User is allowed to set this field if they have an RBAC rule to CREATE on the virtual subresource of managedclustersets/bind.",
}
func (ManagedClusterSetBindingSpec) SwaggerDoc() map[string]string {
return map_ManagedClusterSetBindingSpec
}
var map_ManagedClusterSetBindingStatus = map[string]string{
"": "ManagedClusterSetBindingStatus represents the current status of the ManagedClusterSetBinding.",
"conditions": "Conditions contains the different condition statuses for this ManagedClusterSetBinding.",
}
func (ManagedClusterSetBindingStatus) SwaggerDoc() map[string]string {
return map_ManagedClusterSetBindingStatus
}
// AUTO-GENERATED FUNCTIONS END HERE