...

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

Documentation: github.com/openshift/api/console/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_Link = map[string]string{
    15  	"":     "Represents a standard link that could be generated in HTML",
    16  	"text": "text is the display text for the link",
    17  	"href": "href is the absolute secure URL for the link (must use https)",
    18  }
    19  
    20  func (Link) SwaggerDoc() map[string]string {
    21  	return map_Link
    22  }
    23  
    24  var map_CLIDownloadLink = map[string]string{
    25  	"text": "text is the display text for the link",
    26  	"href": "href is the absolute secure URL for the link (must use https)",
    27  }
    28  
    29  func (CLIDownloadLink) SwaggerDoc() map[string]string {
    30  	return map_CLIDownloadLink
    31  }
    32  
    33  var map_ConsoleCLIDownload = map[string]string{
    34  	"":         "ConsoleCLIDownload is an extension for configuring openshift web console command line interface (CLI) downloads.\n\nCompatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).",
    35  	"metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    36  }
    37  
    38  func (ConsoleCLIDownload) SwaggerDoc() map[string]string {
    39  	return map_ConsoleCLIDownload
    40  }
    41  
    42  var map_ConsoleCLIDownloadList = map[string]string{
    43  	"":         "Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).",
    44  	"metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    45  }
    46  
    47  func (ConsoleCLIDownloadList) SwaggerDoc() map[string]string {
    48  	return map_ConsoleCLIDownloadList
    49  }
    50  
    51  var map_ConsoleCLIDownloadSpec = map[string]string{
    52  	"":            "ConsoleCLIDownloadSpec is the desired cli download configuration.",
    53  	"displayName": "displayName is the display name of the CLI download.",
    54  	"description": "description is the description of the CLI download (can include markdown).",
    55  	"links":       "links is a list of objects that provide CLI download link details.",
    56  }
    57  
    58  func (ConsoleCLIDownloadSpec) SwaggerDoc() map[string]string {
    59  	return map_ConsoleCLIDownloadSpec
    60  }
    61  
    62  var map_ConsoleExternalLogLink = map[string]string{
    63  	"":         "ConsoleExternalLogLink is an extension for customizing OpenShift web console log links.\n\nCompatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).",
    64  	"metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    65  }
    66  
    67  func (ConsoleExternalLogLink) SwaggerDoc() map[string]string {
    68  	return map_ConsoleExternalLogLink
    69  }
    70  
    71  var map_ConsoleExternalLogLinkList = map[string]string{
    72  	"":         "Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).",
    73  	"metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    74  }
    75  
    76  func (ConsoleExternalLogLinkList) SwaggerDoc() map[string]string {
    77  	return map_ConsoleExternalLogLinkList
    78  }
    79  
    80  var map_ConsoleExternalLogLinkSpec = map[string]string{
    81  	"":                "ConsoleExternalLogLinkSpec is the desired log link configuration. The log link will appear on the logs tab of the pod details page.",
    82  	"text":            "text is the display text for the link",
    83  	"hrefTemplate":    "hrefTemplate is an absolute secure URL (must use https) for the log link including variables to be replaced. Variables are specified in the URL with the format ${variableName}, for instance, ${containerName} and will be replaced with the corresponding values from the resource. Resource is a pod. Supported variables are: - ${resourceName} - name of the resource which containes the logs - ${resourceUID} - UID of the resource which contains the logs\n              - e.g. `11111111-2222-3333-4444-555555555555`\n- ${containerName} - name of the resource's container that contains the logs - ${resourceNamespace} - namespace of the resource that contains the logs - ${resourceNamespaceUID} - namespace UID of the resource that contains the logs - ${podLabels} - JSON representation of labels matching the pod with the logs\n            - e.g. `{\"key1\":\"value1\",\"key2\":\"value2\"}`\n\ne.g., https://example.com/logs?resourceName=${resourceName}&containerName=${containerName}&resourceNamespace=${resourceNamespace}&podLabels=${podLabels}",
    84  	"namespaceFilter": "namespaceFilter is a regular expression used to restrict a log link to a matching set of namespaces (e.g., `^openshift-`). The string is converted into a regular expression using the JavaScript RegExp constructor. If not specified, links will be displayed for all the namespaces.",
    85  }
    86  
    87  func (ConsoleExternalLogLinkSpec) SwaggerDoc() map[string]string {
    88  	return map_ConsoleExternalLogLinkSpec
    89  }
    90  
    91  var map_ApplicationMenuSpec = map[string]string{
    92  	"":         "ApplicationMenuSpec is the specification of the desired section and icon used for the link in the application menu.",
    93  	"section":  "section is the section of the application menu in which the link should appear. This can be any text that will appear as a subheading in the application menu dropdown. A new section will be created if the text does not match text of an existing section.",
    94  	"imageURL": "imageUrl is the URL for the icon used in front of the link in the application menu. The URL must be an HTTPS URL or a Data URI. The image should be square and will be shown at 24x24 pixels.",
    95  }
    96  
    97  func (ApplicationMenuSpec) SwaggerDoc() map[string]string {
    98  	return map_ApplicationMenuSpec
    99  }
   100  
   101  var map_ConsoleLink = map[string]string{
   102  	"":         "ConsoleLink is an extension for customizing OpenShift web console links.\n\nCompatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).",
   103  	"metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   104  }
   105  
   106  func (ConsoleLink) SwaggerDoc() map[string]string {
   107  	return map_ConsoleLink
   108  }
   109  
   110  var map_ConsoleLinkList = map[string]string{
   111  	"":         "Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).",
   112  	"metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   113  }
   114  
   115  func (ConsoleLinkList) SwaggerDoc() map[string]string {
   116  	return map_ConsoleLinkList
   117  }
   118  
   119  var map_ConsoleLinkSpec = map[string]string{
   120  	"":                   "ConsoleLinkSpec is the desired console link configuration.",
   121  	"location":           "location determines which location in the console the link will be appended to (ApplicationMenu, HelpMenu, UserMenu, NamespaceDashboard).",
   122  	"applicationMenu":    "applicationMenu holds information about section and icon used for the link in the application menu, and it is applicable only when location is set to ApplicationMenu.",
   123  	"namespaceDashboard": "namespaceDashboard holds information about namespaces in which the dashboard link should appear, and it is applicable only when location is set to NamespaceDashboard. If not specified, the link will appear in all namespaces.",
   124  }
   125  
   126  func (ConsoleLinkSpec) SwaggerDoc() map[string]string {
   127  	return map_ConsoleLinkSpec
   128  }
   129  
   130  var map_NamespaceDashboardSpec = map[string]string{
   131  	"":                  "NamespaceDashboardSpec is a specification of namespaces in which the dashboard link should appear. If both namespaces and namespaceSelector are specified, the link will appear in namespaces that match either",
   132  	"namespaces":        "namespaces is an array of namespace names in which the dashboard link should appear.",
   133  	"namespaceSelector": "namespaceSelector is used to select the Namespaces that should contain dashboard link by label. If the namespace labels match, dashboard link will be shown for the namespaces.",
   134  }
   135  
   136  func (NamespaceDashboardSpec) SwaggerDoc() map[string]string {
   137  	return map_NamespaceDashboardSpec
   138  }
   139  
   140  var map_ConsoleNotification = map[string]string{
   141  	"":         "ConsoleNotification is the extension for configuring openshift web console notifications.\n\nCompatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).",
   142  	"metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   143  }
   144  
   145  func (ConsoleNotification) SwaggerDoc() map[string]string {
   146  	return map_ConsoleNotification
   147  }
   148  
   149  var map_ConsoleNotificationList = map[string]string{
   150  	"":         "Compatibility level 2: Stable within a major release for a minimum of 9 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  }
   153  
   154  func (ConsoleNotificationList) SwaggerDoc() map[string]string {
   155  	return map_ConsoleNotificationList
   156  }
   157  
   158  var map_ConsoleNotificationSpec = map[string]string{
   159  	"":                "ConsoleNotificationSpec is the desired console notification configuration.",
   160  	"text":            "text is the visible text of the notification.",
   161  	"location":        "location is the location of the notification in the console. Valid values are: \"BannerTop\", \"BannerBottom\", \"BannerTopBottom\".",
   162  	"link":            "link is an object that holds notification link details.",
   163  	"color":           "color is the color of the text for the notification as CSS data type color.",
   164  	"backgroundColor": "backgroundColor is the color of the background for the notification as CSS data type color.",
   165  }
   166  
   167  func (ConsoleNotificationSpec) SwaggerDoc() map[string]string {
   168  	return map_ConsoleNotificationSpec
   169  }
   170  
   171  var map_ConsolePlugin = map[string]string{
   172  	"":         "ConsolePlugin is an extension for customizing OpenShift web console by dynamically loading code from another service running on the cluster.\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).",
   173  	"metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   174  }
   175  
   176  func (ConsolePlugin) SwaggerDoc() map[string]string {
   177  	return map_ConsolePlugin
   178  }
   179  
   180  var map_ConsolePluginBackend = map[string]string{
   181  	"":        "ConsolePluginBackend holds information about the endpoint which serves the console's plugin",
   182  	"type":    "type is the backend type which servers the console's plugin. Currently only \"Service\" is supported.",
   183  	"service": "service is a Kubernetes Service that exposes the plugin using a deployment with an HTTP server. The Service must use HTTPS and Service serving certificate. The console backend will proxy the plugins assets from the Service using the service CA bundle.",
   184  }
   185  
   186  func (ConsolePluginBackend) SwaggerDoc() map[string]string {
   187  	return map_ConsolePluginBackend
   188  }
   189  
   190  var map_ConsolePluginI18n = map[string]string{
   191  	"":         "ConsolePluginI18n holds information on localization resources that are served by the dynamic plugin.",
   192  	"loadType": "loadType indicates how the plugin's localization resource should be loaded. Valid values are Preload, Lazy and the empty string. When set to Preload, all localization resources are fetched when the plugin is loaded. When set to Lazy, localization resources are lazily loaded as and when they are required by the console. When omitted or set to the empty string, the behaviour is equivalent to Lazy type.",
   193  }
   194  
   195  func (ConsolePluginI18n) SwaggerDoc() map[string]string {
   196  	return map_ConsolePluginI18n
   197  }
   198  
   199  var map_ConsolePluginList = map[string]string{
   200  	"":         "Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).",
   201  	"metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   202  }
   203  
   204  func (ConsolePluginList) SwaggerDoc() map[string]string {
   205  	return map_ConsolePluginList
   206  }
   207  
   208  var map_ConsolePluginProxy = map[string]string{
   209  	"":              "ConsolePluginProxy holds information on various service types to which console's backend will proxy the plugin's requests.",
   210  	"endpoint":      "endpoint provides information about endpoint to which the request is proxied to.",
   211  	"alias":         "alias is a proxy name that identifies the plugin's proxy. An alias name should be unique per plugin. The console backend exposes following proxy endpoint:\n\n/api/proxy/plugin/<plugin-name>/<proxy-alias>/<request-path>?<optional-query-parameters>\n\nRequest example path:\n\n/api/proxy/plugin/acm/search/pods?namespace=openshift-apiserver",
   212  	"caCertificate": "caCertificate provides the cert authority certificate contents, in case the proxied Service is using custom service CA. By default, the service CA bundle provided by the service-ca operator is used. ",
   213  	"authorization": "authorization provides information about authorization type, which the proxied request should contain",
   214  }
   215  
   216  func (ConsolePluginProxy) SwaggerDoc() map[string]string {
   217  	return map_ConsolePluginProxy
   218  }
   219  
   220  var map_ConsolePluginProxyEndpoint = map[string]string{
   221  	"":        "ConsolePluginProxyEndpoint holds information about the endpoint to which request will be proxied to.",
   222  	"type":    "type is the type of the console plugin's proxy. Currently only \"Service\" is supported.",
   223  	"service": "service is an in-cluster Service that the plugin will connect to. The Service must use HTTPS. The console backend exposes an endpoint in order to proxy communication between the plugin and the Service. Note: service field is required for now, since currently only \"Service\" type is supported.",
   224  }
   225  
   226  func (ConsolePluginProxyEndpoint) SwaggerDoc() map[string]string {
   227  	return map_ConsolePluginProxyEndpoint
   228  }
   229  
   230  var map_ConsolePluginProxyServiceConfig = map[string]string{
   231  	"":          "ProxyTypeServiceConfig holds information on Service to which console's backend will proxy the plugin's requests.",
   232  	"name":      "name of Service that the plugin needs to connect to.",
   233  	"namespace": "namespace of Service that the plugin needs to connect to",
   234  	"port":      "port on which the Service that the plugin needs to connect to is listening on.",
   235  }
   236  
   237  func (ConsolePluginProxyServiceConfig) SwaggerDoc() map[string]string {
   238  	return map_ConsolePluginProxyServiceConfig
   239  }
   240  
   241  var map_ConsolePluginService = map[string]string{
   242  	"":          "ConsolePluginService holds information on Service that is serving console dynamic plugin assets.",
   243  	"name":      "name of Service that is serving the plugin assets.",
   244  	"namespace": "namespace of Service that is serving the plugin assets.",
   245  	"port":      "port on which the Service that is serving the plugin is listening to.",
   246  	"basePath":  "basePath is the path to the plugin's assets. The primary asset it the manifest file called `plugin-manifest.json`, which is a JSON document that contains metadata about the plugin and the extensions.",
   247  }
   248  
   249  func (ConsolePluginService) SwaggerDoc() map[string]string {
   250  	return map_ConsolePluginService
   251  }
   252  
   253  var map_ConsolePluginSpec = map[string]string{
   254  	"":            "ConsolePluginSpec is the desired plugin configuration.",
   255  	"displayName": "displayName is the display name of the plugin. The dispalyName should be between 1 and 128 characters.",
   256  	"backend":     "backend holds the configuration of backend which is serving console's plugin .",
   257  	"proxy":       "proxy is a list of proxies that describe various service type to which the plugin needs to connect to.",
   258  	"i18n":        "i18n is the configuration of plugin's localization resources.",
   259  }
   260  
   261  func (ConsolePluginSpec) SwaggerDoc() map[string]string {
   262  	return map_ConsolePluginSpec
   263  }
   264  
   265  var map_ConsoleQuickStart = map[string]string{
   266  	"":         "ConsoleQuickStart is an extension for guiding user through various workflows in the OpenShift web console.\n\nCompatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).",
   267  	"metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   268  }
   269  
   270  func (ConsoleQuickStart) SwaggerDoc() map[string]string {
   271  	return map_ConsoleQuickStart
   272  }
   273  
   274  var map_ConsoleQuickStartList = map[string]string{
   275  	"":         "Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).",
   276  	"metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   277  }
   278  
   279  func (ConsoleQuickStartList) SwaggerDoc() map[string]string {
   280  	return map_ConsoleQuickStartList
   281  }
   282  
   283  var map_ConsoleQuickStartSpec = map[string]string{
   284  	"":                      "ConsoleQuickStartSpec is the desired quick start configuration.",
   285  	"displayName":           "displayName is the display name of the Quick Start.",
   286  	"icon":                  "icon is a base64 encoded image that will be displayed beside the Quick Start display name. The icon should be an vector image for easy scaling. The size of the icon should be 40x40.",
   287  	"tags":                  "tags is a list of strings that describe the Quick Start.",
   288  	"durationMinutes":       "durationMinutes describes approximately how many minutes it will take to complete the Quick Start.",
   289  	"description":           "description is the description of the Quick Start. (includes markdown)",
   290  	"prerequisites":         "prerequisites contains all prerequisites that need to be met before taking a Quick Start. (includes markdown)",
   291  	"introduction":          "introduction describes the purpose of the Quick Start. (includes markdown)",
   292  	"tasks":                 "tasks is the list of steps the user has to perform to complete the Quick Start.",
   293  	"conclusion":            "conclusion sums up the Quick Start and suggests the possible next steps. (includes markdown)",
   294  	"nextQuickStart":        "nextQuickStart is a list of the following Quick Starts, suggested for the user to try.",
   295  	"accessReviewResources": "accessReviewResources contains a list of resources that the user's access will be reviewed against in order for the user to complete the Quick Start. The Quick Start will be hidden if any of the access reviews fail.",
   296  }
   297  
   298  func (ConsoleQuickStartSpec) SwaggerDoc() map[string]string {
   299  	return map_ConsoleQuickStartSpec
   300  }
   301  
   302  var map_ConsoleQuickStartTask = map[string]string{
   303  	"":            "ConsoleQuickStartTask is a single step in a Quick Start.",
   304  	"title":       "title describes the task and is displayed as a step heading.",
   305  	"description": "description describes the steps needed to complete the task. (includes markdown)",
   306  	"review":      "review contains instructions to validate the task is complete. The user will select 'Yes' or 'No'. using a radio button, which indicates whether the step was completed successfully.",
   307  	"summary":     "summary contains information about the passed step.",
   308  }
   309  
   310  func (ConsoleQuickStartTask) SwaggerDoc() map[string]string {
   311  	return map_ConsoleQuickStartTask
   312  }
   313  
   314  var map_ConsoleQuickStartTaskReview = map[string]string{
   315  	"":               "ConsoleQuickStartTaskReview contains instructions that validate a task was completed successfully.",
   316  	"instructions":   "instructions contains steps that user needs to take in order to validate his work after going through a task. (includes markdown)",
   317  	"failedTaskHelp": "failedTaskHelp contains suggestions for a failed task review and is shown at the end of task. (includes markdown)",
   318  }
   319  
   320  func (ConsoleQuickStartTaskReview) SwaggerDoc() map[string]string {
   321  	return map_ConsoleQuickStartTaskReview
   322  }
   323  
   324  var map_ConsoleQuickStartTaskSummary = map[string]string{
   325  	"":        "ConsoleQuickStartTaskSummary contains information about a passed step.",
   326  	"success": "success describes the succesfully passed task.",
   327  	"failed":  "failed briefly describes the unsuccessfully passed task. (includes markdown)",
   328  }
   329  
   330  func (ConsoleQuickStartTaskSummary) SwaggerDoc() map[string]string {
   331  	return map_ConsoleQuickStartTaskSummary
   332  }
   333  
   334  var map_ConsoleYAMLSample = map[string]string{
   335  	"":         "ConsoleYAMLSample is an extension for customizing OpenShift web console YAML samples.\n\nCompatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).",
   336  	"metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   337  }
   338  
   339  func (ConsoleYAMLSample) SwaggerDoc() map[string]string {
   340  	return map_ConsoleYAMLSample
   341  }
   342  
   343  var map_ConsoleYAMLSampleList = map[string]string{
   344  	"":         "Compatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).",
   345  	"metadata": "metadata is the standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
   346  }
   347  
   348  func (ConsoleYAMLSampleList) SwaggerDoc() map[string]string {
   349  	return map_ConsoleYAMLSampleList
   350  }
   351  
   352  var map_ConsoleYAMLSampleSpec = map[string]string{
   353  	"":               "ConsoleYAMLSampleSpec is the desired YAML sample configuration. Samples will appear with their descriptions in a samples sidebar when creating a resources in the web console.",
   354  	"targetResource": "targetResource contains apiVersion and kind of the resource YAML sample is representating.",
   355  	"title":          "title of the YAML sample.",
   356  	"description":    "description of the YAML sample.",
   357  	"yaml":           "yaml is the YAML sample to display.",
   358  	"snippet":        "snippet indicates that the YAML sample is not the full YAML resource definition, but a fragment that can be inserted into the existing YAML document at the user's cursor.",
   359  }
   360  
   361  func (ConsoleYAMLSampleSpec) SwaggerDoc() map[string]string {
   362  	return map_ConsoleYAMLSampleSpec
   363  }
   364  
   365  // AUTO-GENERATED FUNCTIONS END HERE
   366  

View as plain text