blob: f6a7e16acb074b63ebcc71cf900d0ea8d6d9ff80 [file] [log] [blame]
Zack Williamse940c7a2019-08-21 14:25:39 -07001/*
2Copyright The Kubernetes Authors.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16
17package v1beta1
18
19// This file contains a collection of methods that can be used from go-restful to
20// generate Swagger API documentation for its models. Please read this PR for more
21// information on the implementation: https://github.com/emicklei/go-restful/pull/215
22//
23// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
24// they are on one line! For multiple line or blocks that you want to ignore use ---.
25// Any context after a --- is ignored.
26//
27// Those methods can be generated by using hack/update-generated-swagger-docs.sh
28
29// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
30var map_CertificateSigningRequest = map[string]string{
31 "": "Describes a certificate signing request",
32 "spec": "The certificate request itself and any additional information.",
33 "status": "Derived information about the request.",
34}
35
36func (CertificateSigningRequest) SwaggerDoc() map[string]string {
37 return map_CertificateSigningRequest
38}
39
40var map_CertificateSigningRequestCondition = map[string]string{
41 "type": "request approval state, currently Approved or Denied.",
42 "reason": "brief reason for the request state",
43 "message": "human readable message with details about the request state",
44 "lastUpdateTime": "timestamp for the last update to this condition",
45}
46
47func (CertificateSigningRequestCondition) SwaggerDoc() map[string]string {
48 return map_CertificateSigningRequestCondition
49}
50
51var map_CertificateSigningRequestSpec = map[string]string{
52 "": "This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.",
53 "request": "Base64-encoded PKCS#10 CSR data",
54 "usages": "allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3\n https://tools.ietf.org/html/rfc5280#section-4.2.1.12",
55 "username": "Information about the requesting user. See user.Info interface for details.",
56 "uid": "UID information about the requesting user. See user.Info interface for details.",
57 "groups": "Group information about the requesting user. See user.Info interface for details.",
58 "extra": "Extra information about the requesting user. See user.Info interface for details.",
59}
60
61func (CertificateSigningRequestSpec) SwaggerDoc() map[string]string {
62 return map_CertificateSigningRequestSpec
63}
64
65var map_CertificateSigningRequestStatus = map[string]string{
66 "conditions": "Conditions applied to the request, such as approval or denial.",
67 "certificate": "If request was approved, the controller will place the issued certificate here.",
68}
69
70func (CertificateSigningRequestStatus) SwaggerDoc() map[string]string {
71 return map_CertificateSigningRequestStatus
72}
73
74// AUTO-GENERATED FUNCTIONS END HERE