-
Notifications
You must be signed in to change notification settings - Fork 328
/
types_swagger_doc_generated.go
298 lines (235 loc) · 10.5 KB
/
types_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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
/*
* Tencent is pleased to support the open source community by making TKEStack
* available.
*
* Copyright (C) 2012-2020 Tencent. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compliance with the License. You may obtain a copy of the
* License at
*
* https://opensource.org/licenses/Apache-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package v1
// 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-generated-swagger-docs.sh
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
var map_Channel = map[string]string{
"": "Channel represents a message transmission channel in TKE.",
"spec": "Spec defines the desired channel.",
}
func (Channel) SwaggerDoc() map[string]string {
return map_Channel
}
var map_ChannelList = map[string]string{
"": "ChannelList is the whole list of all channels which owned by a tenant.",
"items": "List of channels.",
}
func (ChannelList) SwaggerDoc() map[string]string {
return map_ChannelList
}
var map_ChannelSMTP = map[string]string{
"": "ChannelSMTP indicates a channel configuration for sending email notifications using the SMTP server.",
}
func (ChannelSMTP) SwaggerDoc() map[string]string {
return map_ChannelSMTP
}
var map_ChannelSpec = map[string]string{
"": "ChannelSpec is a description of a channel.",
"finalizers": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage.",
}
func (ChannelSpec) SwaggerDoc() map[string]string {
return map_ChannelSpec
}
var map_ChannelStatus = map[string]string{
"": "ChannelStatus represents information about the status of a cluster.",
}
func (ChannelStatus) SwaggerDoc() map[string]string {
return map_ChannelStatus
}
var map_ChannelTencentCloudSMS = map[string]string{
"": "ChannelTencentCloudSMS indicates the channel configuration for sending messages using Tencent Cloud SMS Gateway. See: https://cloud.tencent.com/document/product/382/5976",
}
func (ChannelTencentCloudSMS) SwaggerDoc() map[string]string {
return map_ChannelTencentCloudSMS
}
var map_ChannelWebhook = map[string]string{
"": "ChannelWebhook indicates a channel configuration for sending notifications to the webhook server.",
}
func (ChannelWebhook) SwaggerDoc() map[string]string {
return map_ChannelWebhook
}
var map_ChannelWechat = map[string]string{
"": "ChannelWechat indicates a channel configuration for sending template notifications using WeChat.",
"appID": "AppID indicates the unique credentials of the third-party user. See https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140183",
}
func (ChannelWechat) SwaggerDoc() map[string]string {
return map_ChannelWechat
}
var map_ConfigMap = map[string]string{
"": "ConfigMap holds configuration data for tke to consume.",
"data": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.",
"binaryData": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process.",
}
func (ConfigMap) SwaggerDoc() map[string]string {
return map_ConfigMap
}
var map_ConfigMapList = map[string]string{
"": "ConfigMapList is a resource containing a list of ConfigMap objects.",
"items": "Items is the list of ConfigMaps.",
}
func (ConfigMapList) SwaggerDoc() map[string]string {
return map_ConfigMapList
}
var map_Message = map[string]string{
"": "Message indicates a message in the notification system.",
"spec": "Spec defines the desired message.",
}
func (Message) SwaggerDoc() map[string]string {
return map_Message
}
var map_MessageList = map[string]string{
"": "MessageList is the whole list of all message which owned by a tenant.",
"items": "List of messages.",
}
func (MessageList) SwaggerDoc() map[string]string {
return map_MessageList
}
var map_MessageRequest = map[string]string{
"": "MessageRequest represents a message sending request, which may include multiple recipients and multiple receiving groups.",
"spec": "Spec defines the desired message.",
}
func (MessageRequest) SwaggerDoc() map[string]string {
return map_MessageRequest
}
var map_MessageRequestList = map[string]string{
"": "MessageRequestList is the whole list of all message which owned by a tenant.",
"items": "List of message requests.",
}
func (MessageRequestList) SwaggerDoc() map[string]string {
return map_MessageRequestList
}
var map_MessageRequestSpec = map[string]string{
"": "MessageRequestSpec is a description of a message request.",
}
func (MessageRequestSpec) SwaggerDoc() map[string]string {
return map_MessageRequestSpec
}
var map_MessageRequestStatus = map[string]string{
"": "MessageRequestStatus represents information about the status of a message request.",
"lastTransitionTime": "The last time the condition transitioned from one status to another.",
"errors": "A human readable message indicating details about the transition.",
"alertStatus": "alert's status in notification sending from alertmanager",
}
func (MessageRequestStatus) SwaggerDoc() map[string]string {
return map_MessageRequestStatus
}
var map_MessageSpec = map[string]string{
"": "MessageSpec is a description of a message.",
}
func (MessageSpec) SwaggerDoc() map[string]string {
return map_MessageSpec
}
var map_MessageStatus = map[string]string{
"": "MessageStatus represents information about the status of a message.",
"lastTransitionTime": "The last time the condition transitioned from one status to another.",
"alertStatus": "alert's status in notification sending from alertmanager",
}
func (MessageStatus) SwaggerDoc() map[string]string {
return map_MessageStatus
}
var map_Receiver = map[string]string{
"": "Receiver indicates a message notification recipient, usually representing a user in the user system or a webhook service address.",
"spec": "Spec defines the desired receiver.",
}
func (Receiver) SwaggerDoc() map[string]string {
return map_Receiver
}
var map_ReceiverGroup = map[string]string{
"": "ReceiverGroup indicates multiple message recipients.",
"spec": "Spec defines the desired receiver group.",
}
func (ReceiverGroup) SwaggerDoc() map[string]string {
return map_ReceiverGroup
}
var map_ReceiverGroupList = map[string]string{
"": "ReceiverGroupList is the whole list of all receiver which owned by a tenant.",
"items": "List of receiver groups.",
}
func (ReceiverGroupList) SwaggerDoc() map[string]string {
return map_ReceiverGroupList
}
var map_ReceiverGroupSpec = map[string]string{
"": "ReceiverGroupSpec is a description of a receiver group.",
}
func (ReceiverGroupSpec) SwaggerDoc() map[string]string {
return map_ReceiverGroupSpec
}
var map_ReceiverList = map[string]string{
"": "ReceiverList is the whole list of all receiver which owned by a tenant.",
"items": "List of receivers.",
}
func (ReceiverList) SwaggerDoc() map[string]string {
return map_ReceiverList
}
var map_ReceiverSpec = map[string]string{
"": "ReceiverSpec is a description of a receiver.",
"identities": "Identities represents the characteristics of the message recipient. The hash table key represents the message delivery channel id, and the value represents the user identification number in the channel. For example, if it is a short message sending channel, then the value is the user's mobile phone number; if it is a mail sending channel, then the value is the user's email address.",
}
func (ReceiverSpec) SwaggerDoc() map[string]string {
return map_ReceiverSpec
}
var map_Template = map[string]string{
"": "Template indicates the template used to send notifications under this channel.",
"spec": "Spec defines the desired template.",
}
func (Template) SwaggerDoc() map[string]string {
return map_Template
}
var map_TemplateList = map[string]string{
"": "TemplateList is the whole list of all template which owned by a channel.",
"items": "List of templates.",
}
func (TemplateList) SwaggerDoc() map[string]string {
return map_TemplateList
}
var map_TemplateSpec = map[string]string{
"": "TemplateSpec is a description of a template.",
}
func (TemplateSpec) SwaggerDoc() map[string]string {
return map_TemplateSpec
}
var map_TemplateTencentCloudSMS = map[string]string{
"": "TemplateTencentCloudSMS indicates the template used when sending text messages using Tencent Cloud SMS Gateway. The template must be approved.",
}
func (TemplateTencentCloudSMS) SwaggerDoc() map[string]string {
return map_TemplateTencentCloudSMS
}
var map_TemplateText = map[string]string{
"": "TemplateText indicates the template used to send notifications using other non-templated channels.",
}
func (TemplateText) SwaggerDoc() map[string]string {
return map_TemplateText
}
var map_TemplateWechat = map[string]string{
"": "TemplateWechat indicates the template when sending a text message using the WeChat public account. The template must be approved and registered.",
"templateID": "TemplateID indicates the template id of the template message notification. See https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140183",
"url": "URL indicates the web address of the user who clicked the notification in WeChat.",
"miniProgramAppID": "MiniProgramAppID indicates the unique identification number of the WeChat applet that the user clicked on the notification in WeChat.",
}
func (TemplateWechat) SwaggerDoc() map[string]string {
return map_TemplateWechat
}
// AUTO-GENERATED FUNCTIONS END HERE