blob: 0501e0af3576139503b62ca5d4cfcb6f1d02d271 [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 v1alpha1
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_PodPreset = map[string]string{
31 "": "PodPreset is a policy resource that defines additional runtime requirements for a Pod.",
32}
33
34func (PodPreset) SwaggerDoc() map[string]string {
35 return map_PodPreset
36}
37
38var map_PodPresetList = map[string]string{
39 "": "PodPresetList is a list of PodPreset objects.",
40 "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
41 "items": "Items is a list of schema objects.",
42}
43
44func (PodPresetList) SwaggerDoc() map[string]string {
45 return map_PodPresetList
46}
47
48var map_PodPresetSpec = map[string]string{
49 "": "PodPresetSpec is a description of a pod preset.",
50 "selector": "Selector is a label query over a set of resources, in this case pods. Required.",
51 "env": "Env defines the collection of EnvVar to inject into containers.",
52 "envFrom": "EnvFrom defines the collection of EnvFromSource to inject into containers.",
53 "volumes": "Volumes defines the collection of Volume to inject into the pod.",
54 "volumeMounts": "VolumeMounts defines the collection of VolumeMount to inject into containers.",
55}
56
57func (PodPresetSpec) SwaggerDoc() map[string]string {
58 return map_PodPresetSpec
59}
60
61// AUTO-GENERATED FUNCTIONS END HERE