...

Source file src/github.com/openshift/api/template/v1/zz_generated.swagger_doc_generated.go

Documentation: github.com/openshift/api/template/v1

     1  package v1
     2  
     3  // This file contains a collection of methods that can be used from go-restful to
     4  // generate Swagger API documentation for its models. Please read this PR for more
     5  // information on the implementation: https://github.com/emicklei/go-restful/pull/215
     6  //
     7  // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
     8  // they are on one line! For multiple line or blocks that you want to ignore use ---.
     9  // Any context after a --- is ignored.
    10  //
    11  // Those methods can be generated by using hack/update-swagger-docs.sh
    12  
    13  // AUTO-GENERATED FUNCTIONS START HERE
    14  var map_BrokerTemplateInstance = map[string]string{
    15  	"":         "BrokerTemplateInstance holds the service broker-related state associated with a TemplateInstance.  BrokerTemplateInstance is part of an experimental API.\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).",
    16  	"metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    17  	"spec":     "spec describes the state of this BrokerTemplateInstance.",
    18  }
    19  
    20  func (BrokerTemplateInstance) SwaggerDoc() map[string]string {
    21  	return map_BrokerTemplateInstance
    22  }
    23  
    24  var map_BrokerTemplateInstanceList = map[string]string{
    25  	"":         "BrokerTemplateInstanceList is a list of BrokerTemplateInstance objects.\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).",
    26  	"metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    27  	"items":    "items is a list of BrokerTemplateInstances",
    28  }
    29  
    30  func (BrokerTemplateInstanceList) SwaggerDoc() map[string]string {
    31  	return map_BrokerTemplateInstanceList
    32  }
    33  
    34  var map_BrokerTemplateInstanceSpec = map[string]string{
    35  	"":                 "BrokerTemplateInstanceSpec describes the state of a BrokerTemplateInstance.",
    36  	"templateInstance": "templateinstance is a reference to a TemplateInstance object residing in a namespace.",
    37  	"secret":           "secret is a reference to a Secret object residing in a namespace, containing the necessary template parameters.",
    38  	"bindingIDs":       "bindingids is a list of 'binding_id's provided during successive bind calls to the template service broker.",
    39  }
    40  
    41  func (BrokerTemplateInstanceSpec) SwaggerDoc() map[string]string {
    42  	return map_BrokerTemplateInstanceSpec
    43  }
    44  
    45  var map_Parameter = map[string]string{
    46  	"":            "Parameter defines a name/value variable that is to be processed during the Template to Config transformation.",
    47  	"name":        "Name must be set and it can be referenced in Template Items using ${PARAMETER_NAME}. Required.",
    48  	"displayName": "Optional: The name that will show in UI instead of parameter 'Name'",
    49  	"description": "Description of a parameter. Optional.",
    50  	"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.",
    51  	"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.\n\nThe only supported generator is \"expression\", which accepts a \"from\" value in the form of a simple regular expression containing the range expression \"[a-zA-Z0-9]\", and the length expression \"a{length}\".\n\nExamples:\n\nfrom             | value",
    52  	"from":        "From is an input value for the generator. Optional.",
    53  	"required":    "Optional: Indicates the parameter must have a value.  Defaults to false.",
    54  }
    55  
    56  func (Parameter) SwaggerDoc() map[string]string {
    57  	return map_Parameter
    58  }
    59  
    60  var map_Template = map[string]string{
    61  	"":           "Template contains the inputs needed to produce a Config.\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).",
    62  	"metadata":   "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    63  	"message":    "message is an optional instructional message that will be displayed when this template is instantiated. This field should inform the user how to utilize the newly created resources. Parameter substitution will be performed on the message before being displayed so that generated credentials and other parameters can be included in the output.",
    64  	"objects":    "objects is an array of resources to include in this template. If a namespace value is hardcoded in the object, it will be removed during template instantiation, however if the namespace value is, or contains, a ${PARAMETER_REFERENCE}, the resolved value after parameter substitution will be respected and the object will be created in that namespace.",
    65  	"parameters": "parameters is an optional array of Parameters used during the Template to Config transformation.",
    66  	"labels":     "labels is a optional set of labels that are applied to every object during the Template to Config transformation.",
    67  }
    68  
    69  func (Template) SwaggerDoc() map[string]string {
    70  	return map_Template
    71  }
    72  
    73  var map_TemplateInstance = map[string]string{
    74  	"":         "TemplateInstance requests and records the instantiation of a Template. TemplateInstance is part of an experimental API.\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).",
    75  	"metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    76  	"spec":     "spec describes the desired state of this TemplateInstance.",
    77  	"status":   "status describes the current state of this TemplateInstance.",
    78  }
    79  
    80  func (TemplateInstance) SwaggerDoc() map[string]string {
    81  	return map_TemplateInstance
    82  }
    83  
    84  var map_TemplateInstanceCondition = map[string]string{
    85  	"":                   "TemplateInstanceCondition contains condition information for a TemplateInstance.",
    86  	"type":               "Type of the condition, currently Ready or InstantiateFailure.",
    87  	"status":             "Status of the condition, one of True, False or Unknown.",
    88  	"lastTransitionTime": "LastTransitionTime is the last time a condition status transitioned from one state to another.",
    89  	"reason":             "Reason is a brief machine readable explanation for the condition's last transition.",
    90  	"message":            "Message is a human readable description of the details of the last transition, complementing reason.",
    91  }
    92  
    93  func (TemplateInstanceCondition) SwaggerDoc() map[string]string {
    94  	return map_TemplateInstanceCondition
    95  }
    96  
    97  var map_TemplateInstanceList = map[string]string{
    98  	"":         "TemplateInstanceList is a list of TemplateInstance objects.\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).",
    99  	"metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   100  	"items":    "items is a list of Templateinstances",
   101  }
   102  
   103  func (TemplateInstanceList) SwaggerDoc() map[string]string {
   104  	return map_TemplateInstanceList
   105  }
   106  
   107  var map_TemplateInstanceObject = map[string]string{
   108  	"":    "TemplateInstanceObject references an object created by a TemplateInstance.",
   109  	"ref": "ref is a reference to the created object.  When used under .spec, only name and namespace are used; these can contain references to parameters which will be substituted following the usual rules.",
   110  }
   111  
   112  func (TemplateInstanceObject) SwaggerDoc() map[string]string {
   113  	return map_TemplateInstanceObject
   114  }
   115  
   116  var map_TemplateInstanceRequester = map[string]string{
   117  	"":         "TemplateInstanceRequester holds the identity of an agent requesting a template instantiation.",
   118  	"username": "username uniquely identifies this user among all active users.",
   119  	"uid":      "uid is a unique value that identifies this user across time; if this user is deleted and another user by the same name is added, they will have different UIDs.",
   120  	"groups":   "groups represent the groups this user is a part of.",
   121  	"extra":    "extra holds additional information provided by the authenticator.",
   122  }
   123  
   124  func (TemplateInstanceRequester) SwaggerDoc() map[string]string {
   125  	return map_TemplateInstanceRequester
   126  }
   127  
   128  var map_TemplateInstanceSpec = map[string]string{
   129  	"":          "TemplateInstanceSpec describes the desired state of a TemplateInstance.",
   130  	"template":  "template is a full copy of the template for instantiation.",
   131  	"secret":    "secret is a reference to a Secret object containing the necessary template parameters.",
   132  	"requester": "requester holds the identity of the agent requesting the template instantiation.",
   133  }
   134  
   135  func (TemplateInstanceSpec) SwaggerDoc() map[string]string {
   136  	return map_TemplateInstanceSpec
   137  }
   138  
   139  var map_TemplateInstanceStatus = map[string]string{
   140  	"":           "TemplateInstanceStatus describes the current state of a TemplateInstance.",
   141  	"conditions": "conditions represent the latest available observations of a TemplateInstance's current state.",
   142  	"objects":    "Objects references the objects created by the TemplateInstance.",
   143  }
   144  
   145  func (TemplateInstanceStatus) SwaggerDoc() map[string]string {
   146  	return map_TemplateInstanceStatus
   147  }
   148  
   149  var map_TemplateList = map[string]string{
   150  	"":         "TemplateList is a list of Template objects.\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).",
   151  	"metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   152  	"items":    "Items is a list of templates",
   153  }
   154  
   155  func (TemplateList) SwaggerDoc() map[string]string {
   156  	return map_TemplateList
   157  }
   158  
   159  // AUTO-GENERATED FUNCTIONS END HERE
   160  

View as plain text