-
Notifications
You must be signed in to change notification settings - Fork 0
/
swagger_doc.go
43 lines (36 loc) · 2.29 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
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_Parameter = map[string]string{
"": "Parameter defines a name/value variable that is to be processed during the Template to Config transformation.",
"name": "Name must be set and it can be referenced in Template Items using ${PARAMETER_NAME}. Required.",
"displayName": "Optional: The name that will show in UI instead of parameter 'Name'",
"description": "Description of a parameter. Optional.",
"value": "Value holds the Parameter data. If specified, the generator will be ignored. The value replaces all occurrences of the Parameter ${Name} expression during the Template to Config transformation. Optional.",
"generate": "Generate specifies the generator to be used to generate random string from an input value specified by From field. The result string is stored into Value field. If empty, no generator is being used, leaving the result Value untouched. Optional.",
"from": "From is an input value for the generator. Optional.",
"required": "Optional: Indicates the parameter must have a value. Defaults to false.",
}
func (Parameter) SwaggerDoc() map[string]string {
return map_Parameter
}
var map_Template = map[string]string{
"": "Template contains the inputs needed to produce a Config.",
"metadata": "Standard object's metadata.",
"objects": "Objects is an array of objects to include in this template. Required.",
"parameters": "Optional: Parameters is an array of Parameters used during the Template to Config transformation.",
"labels": "Labels is a set of labels that are applied to every object during the Template to Config transformation. Optional",
}
func (Template) SwaggerDoc() map[string]string {
return map_Template
}
var map_TemplateList = map[string]string{
"": "TemplateList is a list of Template objects.",
"metadata": "Standard object's metadata.",
"items": "Items is a list of templates",
}
func (TemplateList) SwaggerDoc() map[string]string {
return map_TemplateList
}