Matteo Scandolo | a428586 | 2020-12-01 18:10:10 -0800 | [diff] [blame^] | 1 | /* |
| 2 | Copyright The Kubernetes Authors. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | package v1 |
| 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. |
| 30 | var map_AWSElasticBlockStoreVolumeSource = map[string]string{ |
| 31 | "": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", |
| 32 | "volumeID": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", |
| 33 | "fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", |
| 34 | "partition": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", |
| 35 | "readOnly": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", |
| 36 | } |
| 37 | |
| 38 | func (AWSElasticBlockStoreVolumeSource) SwaggerDoc() map[string]string { |
| 39 | return map_AWSElasticBlockStoreVolumeSource |
| 40 | } |
| 41 | |
| 42 | var map_Affinity = map[string]string{ |
| 43 | "": "Affinity is a group of affinity scheduling rules.", |
| 44 | "nodeAffinity": "Describes node affinity scheduling rules for the pod.", |
| 45 | "podAffinity": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", |
| 46 | "podAntiAffinity": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", |
| 47 | } |
| 48 | |
| 49 | func (Affinity) SwaggerDoc() map[string]string { |
| 50 | return map_Affinity |
| 51 | } |
| 52 | |
| 53 | var map_AttachedVolume = map[string]string{ |
| 54 | "": "AttachedVolume describes a volume attached to a node", |
| 55 | "name": "Name of the attached volume", |
| 56 | "devicePath": "DevicePath represents the device path where the volume should be available", |
| 57 | } |
| 58 | |
| 59 | func (AttachedVolume) SwaggerDoc() map[string]string { |
| 60 | return map_AttachedVolume |
| 61 | } |
| 62 | |
| 63 | var map_AvoidPods = map[string]string{ |
| 64 | "": "AvoidPods describes pods that should avoid this node. This is the value for a Node annotation with key scheduler.alpha.kubernetes.io/preferAvoidPods and will eventually become a field of NodeStatus.", |
| 65 | "preferAvoidPods": "Bounded-sized list of signatures of pods that should avoid this node, sorted in timestamp order from oldest to newest. Size of the slice is unspecified.", |
| 66 | } |
| 67 | |
| 68 | func (AvoidPods) SwaggerDoc() map[string]string { |
| 69 | return map_AvoidPods |
| 70 | } |
| 71 | |
| 72 | var map_AzureDiskVolumeSource = map[string]string{ |
| 73 | "": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", |
| 74 | "diskName": "The Name of the data disk in the blob storage", |
| 75 | "diskURI": "The URI the data disk in the blob storage", |
| 76 | "cachingMode": "Host Caching mode: None, Read Only, Read Write.", |
| 77 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", |
| 78 | "readOnly": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", |
| 79 | "kind": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", |
| 80 | } |
| 81 | |
| 82 | func (AzureDiskVolumeSource) SwaggerDoc() map[string]string { |
| 83 | return map_AzureDiskVolumeSource |
| 84 | } |
| 85 | |
| 86 | var map_AzureFilePersistentVolumeSource = map[string]string{ |
| 87 | "": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", |
| 88 | "secretName": "the name of secret that contains Azure Storage Account Name and Key", |
| 89 | "shareName": "Share Name", |
| 90 | "readOnly": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", |
| 91 | "secretNamespace": "the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod", |
| 92 | } |
| 93 | |
| 94 | func (AzureFilePersistentVolumeSource) SwaggerDoc() map[string]string { |
| 95 | return map_AzureFilePersistentVolumeSource |
| 96 | } |
| 97 | |
| 98 | var map_AzureFileVolumeSource = map[string]string{ |
| 99 | "": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", |
| 100 | "secretName": "the name of secret that contains Azure Storage Account Name and Key", |
| 101 | "shareName": "Share Name", |
| 102 | "readOnly": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", |
| 103 | } |
| 104 | |
| 105 | func (AzureFileVolumeSource) SwaggerDoc() map[string]string { |
| 106 | return map_AzureFileVolumeSource |
| 107 | } |
| 108 | |
| 109 | var map_Binding = map[string]string{ |
| 110 | "": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", |
| 111 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 112 | "target": "The target object that you want to bind to the standard object.", |
| 113 | } |
| 114 | |
| 115 | func (Binding) SwaggerDoc() map[string]string { |
| 116 | return map_Binding |
| 117 | } |
| 118 | |
| 119 | var map_CSIPersistentVolumeSource = map[string]string{ |
| 120 | "": "Represents storage that is managed by an external CSI volume driver (Beta feature)", |
| 121 | "driver": "Driver is the name of the driver to use for this volume. Required.", |
| 122 | "volumeHandle": "VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.", |
| 123 | "readOnly": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", |
| 124 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".", |
| 125 | "volumeAttributes": "Attributes of the volume to publish.", |
| 126 | "controllerPublishSecretRef": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", |
| 127 | "nodeStageSecretRef": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", |
| 128 | "nodePublishSecretRef": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", |
| 129 | "controllerExpandSecretRef": "ControllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This is an alpha field and requires enabling ExpandCSIVolumes feature gate. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", |
| 130 | } |
| 131 | |
| 132 | func (CSIPersistentVolumeSource) SwaggerDoc() map[string]string { |
| 133 | return map_CSIPersistentVolumeSource |
| 134 | } |
| 135 | |
| 136 | var map_CSIVolumeSource = map[string]string{ |
| 137 | "": "Represents a source location of a volume to mount, managed by an external CSI driver", |
| 138 | "driver": "Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.", |
| 139 | "readOnly": "Specifies a read-only configuration for the volume. Defaults to false (read/write).", |
| 140 | "fsType": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.", |
| 141 | "volumeAttributes": "VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.", |
| 142 | "nodePublishSecretRef": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.", |
| 143 | } |
| 144 | |
| 145 | func (CSIVolumeSource) SwaggerDoc() map[string]string { |
| 146 | return map_CSIVolumeSource |
| 147 | } |
| 148 | |
| 149 | var map_Capabilities = map[string]string{ |
| 150 | "": "Adds and removes POSIX capabilities from running containers.", |
| 151 | "add": "Added capabilities", |
| 152 | "drop": "Removed capabilities", |
| 153 | } |
| 154 | |
| 155 | func (Capabilities) SwaggerDoc() map[string]string { |
| 156 | return map_Capabilities |
| 157 | } |
| 158 | |
| 159 | var map_CephFSPersistentVolumeSource = map[string]string{ |
| 160 | "": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", |
| 161 | "monitors": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", |
| 162 | "path": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", |
| 163 | "user": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", |
| 164 | "secretFile": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", |
| 165 | "secretRef": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", |
| 166 | "readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", |
| 167 | } |
| 168 | |
| 169 | func (CephFSPersistentVolumeSource) SwaggerDoc() map[string]string { |
| 170 | return map_CephFSPersistentVolumeSource |
| 171 | } |
| 172 | |
| 173 | var map_CephFSVolumeSource = map[string]string{ |
| 174 | "": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", |
| 175 | "monitors": "Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", |
| 176 | "path": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", |
| 177 | "user": "Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", |
| 178 | "secretFile": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", |
| 179 | "secretRef": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", |
| 180 | "readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", |
| 181 | } |
| 182 | |
| 183 | func (CephFSVolumeSource) SwaggerDoc() map[string]string { |
| 184 | return map_CephFSVolumeSource |
| 185 | } |
| 186 | |
| 187 | var map_CinderPersistentVolumeSource = map[string]string{ |
| 188 | "": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", |
| 189 | "volumeID": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", |
| 190 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", |
| 191 | "readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", |
| 192 | "secretRef": "Optional: points to a secret object containing parameters used to connect to OpenStack.", |
| 193 | } |
| 194 | |
| 195 | func (CinderPersistentVolumeSource) SwaggerDoc() map[string]string { |
| 196 | return map_CinderPersistentVolumeSource |
| 197 | } |
| 198 | |
| 199 | var map_CinderVolumeSource = map[string]string{ |
| 200 | "": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", |
| 201 | "volumeID": "volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", |
| 202 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", |
| 203 | "readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", |
| 204 | "secretRef": "Optional: points to a secret object containing parameters used to connect to OpenStack.", |
| 205 | } |
| 206 | |
| 207 | func (CinderVolumeSource) SwaggerDoc() map[string]string { |
| 208 | return map_CinderVolumeSource |
| 209 | } |
| 210 | |
| 211 | var map_ClientIPConfig = map[string]string{ |
| 212 | "": "ClientIPConfig represents the configurations of Client IP based session affinity.", |
| 213 | "timeoutSeconds": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", |
| 214 | } |
| 215 | |
| 216 | func (ClientIPConfig) SwaggerDoc() map[string]string { |
| 217 | return map_ClientIPConfig |
| 218 | } |
| 219 | |
| 220 | var map_ComponentCondition = map[string]string{ |
| 221 | "": "Information about the condition of a component.", |
| 222 | "type": "Type of condition for a component. Valid value: \"Healthy\"", |
| 223 | "status": "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".", |
| 224 | "message": "Message about the condition for a component. For example, information about a health check.", |
| 225 | "error": "Condition error code for a component. For example, a health check error code.", |
| 226 | } |
| 227 | |
| 228 | func (ComponentCondition) SwaggerDoc() map[string]string { |
| 229 | return map_ComponentCondition |
| 230 | } |
| 231 | |
| 232 | var map_ComponentStatus = map[string]string{ |
| 233 | "": "ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+", |
| 234 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 235 | "conditions": "List of component conditions observed", |
| 236 | } |
| 237 | |
| 238 | func (ComponentStatus) SwaggerDoc() map[string]string { |
| 239 | return map_ComponentStatus |
| 240 | } |
| 241 | |
| 242 | var map_ComponentStatusList = map[string]string{ |
| 243 | "": "Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+", |
| 244 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 245 | "items": "List of ComponentStatus objects.", |
| 246 | } |
| 247 | |
| 248 | func (ComponentStatusList) SwaggerDoc() map[string]string { |
| 249 | return map_ComponentStatusList |
| 250 | } |
| 251 | |
| 252 | var map_ConfigMap = map[string]string{ |
| 253 | "": "ConfigMap holds configuration data for pods to consume.", |
| 254 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 255 | "immutable": "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate.", |
| 256 | "data": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", |
| 257 | "binaryData": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", |
| 258 | } |
| 259 | |
| 260 | func (ConfigMap) SwaggerDoc() map[string]string { |
| 261 | return map_ConfigMap |
| 262 | } |
| 263 | |
| 264 | var map_ConfigMapEnvSource = map[string]string{ |
| 265 | "": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", |
| 266 | "optional": "Specify whether the ConfigMap must be defined", |
| 267 | } |
| 268 | |
| 269 | func (ConfigMapEnvSource) SwaggerDoc() map[string]string { |
| 270 | return map_ConfigMapEnvSource |
| 271 | } |
| 272 | |
| 273 | var map_ConfigMapKeySelector = map[string]string{ |
| 274 | "": "Selects a key from a ConfigMap.", |
| 275 | "key": "The key to select.", |
| 276 | "optional": "Specify whether the ConfigMap or its key must be defined", |
| 277 | } |
| 278 | |
| 279 | func (ConfigMapKeySelector) SwaggerDoc() map[string]string { |
| 280 | return map_ConfigMapKeySelector |
| 281 | } |
| 282 | |
| 283 | var map_ConfigMapList = map[string]string{ |
| 284 | "": "ConfigMapList is a resource containing a list of ConfigMap objects.", |
| 285 | "metadata": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 286 | "items": "Items is the list of ConfigMaps.", |
| 287 | } |
| 288 | |
| 289 | func (ConfigMapList) SwaggerDoc() map[string]string { |
| 290 | return map_ConfigMapList |
| 291 | } |
| 292 | |
| 293 | var map_ConfigMapNodeConfigSource = map[string]string{ |
| 294 | "": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.", |
| 295 | "namespace": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.", |
| 296 | "name": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.", |
| 297 | "uid": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", |
| 298 | "resourceVersion": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", |
| 299 | "kubeletConfigKey": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.", |
| 300 | } |
| 301 | |
| 302 | func (ConfigMapNodeConfigSource) SwaggerDoc() map[string]string { |
| 303 | return map_ConfigMapNodeConfigSource |
| 304 | } |
| 305 | |
| 306 | var map_ConfigMapProjection = map[string]string{ |
| 307 | "": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.", |
| 308 | "items": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", |
| 309 | "optional": "Specify whether the ConfigMap or its keys must be defined", |
| 310 | } |
| 311 | |
| 312 | func (ConfigMapProjection) SwaggerDoc() map[string]string { |
| 313 | return map_ConfigMapProjection |
| 314 | } |
| 315 | |
| 316 | var map_ConfigMapVolumeSource = map[string]string{ |
| 317 | "": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.", |
| 318 | "items": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", |
| 319 | "defaultMode": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", |
| 320 | "optional": "Specify whether the ConfigMap or its keys must be defined", |
| 321 | } |
| 322 | |
| 323 | func (ConfigMapVolumeSource) SwaggerDoc() map[string]string { |
| 324 | return map_ConfigMapVolumeSource |
| 325 | } |
| 326 | |
| 327 | var map_Container = map[string]string{ |
| 328 | "": "A single application container that you want to run within a pod.", |
| 329 | "name": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", |
| 330 | "image": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", |
| 331 | "command": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", |
| 332 | "args": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", |
| 333 | "workingDir": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", |
| 334 | "ports": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.", |
| 335 | "envFrom": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", |
| 336 | "env": "List of environment variables to set in the container. Cannot be updated.", |
| 337 | "resources": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", |
| 338 | "volumeMounts": "Pod volumes to mount into the container's filesystem. Cannot be updated.", |
| 339 | "volumeDevices": "volumeDevices is the list of block devices to be used by the container.", |
| 340 | "livenessProbe": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", |
| 341 | "readinessProbe": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", |
| 342 | "startupProbe": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", |
| 343 | "lifecycle": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.", |
| 344 | "terminationMessagePath": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", |
| 345 | "terminationMessagePolicy": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", |
| 346 | "imagePullPolicy": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", |
| 347 | "securityContext": "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", |
| 348 | "stdin": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", |
| 349 | "stdinOnce": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", |
| 350 | "tty": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", |
| 351 | } |
| 352 | |
| 353 | func (Container) SwaggerDoc() map[string]string { |
| 354 | return map_Container |
| 355 | } |
| 356 | |
| 357 | var map_ContainerImage = map[string]string{ |
| 358 | "": "Describe a container image", |
| 359 | "names": "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", |
| 360 | "sizeBytes": "The size of the image in bytes.", |
| 361 | } |
| 362 | |
| 363 | func (ContainerImage) SwaggerDoc() map[string]string { |
| 364 | return map_ContainerImage |
| 365 | } |
| 366 | |
| 367 | var map_ContainerPort = map[string]string{ |
| 368 | "": "ContainerPort represents a network port in a single container.", |
| 369 | "name": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", |
| 370 | "hostPort": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", |
| 371 | "containerPort": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", |
| 372 | "protocol": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", |
| 373 | "hostIP": "What host IP to bind the external port to.", |
| 374 | } |
| 375 | |
| 376 | func (ContainerPort) SwaggerDoc() map[string]string { |
| 377 | return map_ContainerPort |
| 378 | } |
| 379 | |
| 380 | var map_ContainerState = map[string]string{ |
| 381 | "": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.", |
| 382 | "waiting": "Details about a waiting container", |
| 383 | "running": "Details about a running container", |
| 384 | "terminated": "Details about a terminated container", |
| 385 | } |
| 386 | |
| 387 | func (ContainerState) SwaggerDoc() map[string]string { |
| 388 | return map_ContainerState |
| 389 | } |
| 390 | |
| 391 | var map_ContainerStateRunning = map[string]string{ |
| 392 | "": "ContainerStateRunning is a running state of a container.", |
| 393 | "startedAt": "Time at which the container was last (re-)started", |
| 394 | } |
| 395 | |
| 396 | func (ContainerStateRunning) SwaggerDoc() map[string]string { |
| 397 | return map_ContainerStateRunning |
| 398 | } |
| 399 | |
| 400 | var map_ContainerStateTerminated = map[string]string{ |
| 401 | "": "ContainerStateTerminated is a terminated state of a container.", |
| 402 | "exitCode": "Exit status from the last termination of the container", |
| 403 | "signal": "Signal from the last termination of the container", |
| 404 | "reason": "(brief) reason from the last termination of the container", |
| 405 | "message": "Message regarding the last termination of the container", |
| 406 | "startedAt": "Time at which previous execution of the container started", |
| 407 | "finishedAt": "Time at which the container last terminated", |
| 408 | "containerID": "Container's ID in the format 'docker://<container_id>'", |
| 409 | } |
| 410 | |
| 411 | func (ContainerStateTerminated) SwaggerDoc() map[string]string { |
| 412 | return map_ContainerStateTerminated |
| 413 | } |
| 414 | |
| 415 | var map_ContainerStateWaiting = map[string]string{ |
| 416 | "": "ContainerStateWaiting is a waiting state of a container.", |
| 417 | "reason": "(brief) reason the container is not yet running.", |
| 418 | "message": "Message regarding why the container is not yet running.", |
| 419 | } |
| 420 | |
| 421 | func (ContainerStateWaiting) SwaggerDoc() map[string]string { |
| 422 | return map_ContainerStateWaiting |
| 423 | } |
| 424 | |
| 425 | var map_ContainerStatus = map[string]string{ |
| 426 | "": "ContainerStatus contains details for the current status of this container.", |
| 427 | "name": "This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.", |
| 428 | "state": "Details about the container's current condition.", |
| 429 | "lastState": "Details about the container's last termination condition.", |
| 430 | "ready": "Specifies whether the container has passed its readiness probe.", |
| 431 | "restartCount": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", |
| 432 | "image": "The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images", |
| 433 | "imageID": "ImageID of the container's image.", |
| 434 | "containerID": "Container's ID in the format 'docker://<container_id>'.", |
| 435 | "started": "Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined.", |
| 436 | } |
| 437 | |
| 438 | func (ContainerStatus) SwaggerDoc() map[string]string { |
| 439 | return map_ContainerStatus |
| 440 | } |
| 441 | |
| 442 | var map_DaemonEndpoint = map[string]string{ |
| 443 | "": "DaemonEndpoint contains information about a single Daemon endpoint.", |
| 444 | "Port": "Port number of the given endpoint.", |
| 445 | } |
| 446 | |
| 447 | func (DaemonEndpoint) SwaggerDoc() map[string]string { |
| 448 | return map_DaemonEndpoint |
| 449 | } |
| 450 | |
| 451 | var map_DownwardAPIProjection = map[string]string{ |
| 452 | "": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.", |
| 453 | "items": "Items is a list of DownwardAPIVolume file", |
| 454 | } |
| 455 | |
| 456 | func (DownwardAPIProjection) SwaggerDoc() map[string]string { |
| 457 | return map_DownwardAPIProjection |
| 458 | } |
| 459 | |
| 460 | var map_DownwardAPIVolumeFile = map[string]string{ |
| 461 | "": "DownwardAPIVolumeFile represents information to create the file containing the pod field", |
| 462 | "path": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", |
| 463 | "fieldRef": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.", |
| 464 | "resourceFieldRef": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", |
| 465 | "mode": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", |
| 466 | } |
| 467 | |
| 468 | func (DownwardAPIVolumeFile) SwaggerDoc() map[string]string { |
| 469 | return map_DownwardAPIVolumeFile |
| 470 | } |
| 471 | |
| 472 | var map_DownwardAPIVolumeSource = map[string]string{ |
| 473 | "": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", |
| 474 | "items": "Items is a list of downward API volume file", |
| 475 | "defaultMode": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", |
| 476 | } |
| 477 | |
| 478 | func (DownwardAPIVolumeSource) SwaggerDoc() map[string]string { |
| 479 | return map_DownwardAPIVolumeSource |
| 480 | } |
| 481 | |
| 482 | var map_EmptyDirVolumeSource = map[string]string{ |
| 483 | "": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", |
| 484 | "medium": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", |
| 485 | "sizeLimit": "Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir", |
| 486 | } |
| 487 | |
| 488 | func (EmptyDirVolumeSource) SwaggerDoc() map[string]string { |
| 489 | return map_EmptyDirVolumeSource |
| 490 | } |
| 491 | |
| 492 | var map_EndpointAddress = map[string]string{ |
| 493 | "": "EndpointAddress is a tuple that describes single IP address.", |
| 494 | "ip": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.", |
| 495 | "hostname": "The Hostname of this endpoint", |
| 496 | "nodeName": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.", |
| 497 | "targetRef": "Reference to object providing the endpoint.", |
| 498 | } |
| 499 | |
| 500 | func (EndpointAddress) SwaggerDoc() map[string]string { |
| 501 | return map_EndpointAddress |
| 502 | } |
| 503 | |
| 504 | var map_EndpointPort = map[string]string{ |
| 505 | "": "EndpointPort is a tuple that describes a single port.", |
| 506 | "name": "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.", |
| 507 | "port": "The port number of the endpoint.", |
| 508 | "protocol": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", |
| 509 | "appProtocol": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default.", |
| 510 | } |
| 511 | |
| 512 | func (EndpointPort) SwaggerDoc() map[string]string { |
| 513 | return map_EndpointPort |
| 514 | } |
| 515 | |
| 516 | var map_EndpointSubset = map[string]string{ |
| 517 | "": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n }\nThe resulting set of endpoints can be viewed as:\n a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n b: [ 10.10.1.1:309, 10.10.2.2:309 ]", |
| 518 | "addresses": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.", |
| 519 | "notReadyAddresses": "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.", |
| 520 | "ports": "Port numbers available on the related IP addresses.", |
| 521 | } |
| 522 | |
| 523 | func (EndpointSubset) SwaggerDoc() map[string]string { |
| 524 | return map_EndpointSubset |
| 525 | } |
| 526 | |
| 527 | var map_Endpoints = map[string]string{ |
| 528 | "": "Endpoints is a collection of endpoints that implement the actual service. Example:\n Name: \"mysvc\",\n Subsets: [\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n },\n {\n Addresses: [{\"ip\": \"10.10.3.3\"}],\n Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n },\n ]", |
| 529 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 530 | "subsets": "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.", |
| 531 | } |
| 532 | |
| 533 | func (Endpoints) SwaggerDoc() map[string]string { |
| 534 | return map_Endpoints |
| 535 | } |
| 536 | |
| 537 | var map_EndpointsList = map[string]string{ |
| 538 | "": "EndpointsList is a list of endpoints.", |
| 539 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 540 | "items": "List of endpoints.", |
| 541 | } |
| 542 | |
| 543 | func (EndpointsList) SwaggerDoc() map[string]string { |
| 544 | return map_EndpointsList |
| 545 | } |
| 546 | |
| 547 | var map_EnvFromSource = map[string]string{ |
| 548 | "": "EnvFromSource represents the source of a set of ConfigMaps", |
| 549 | "prefix": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", |
| 550 | "configMapRef": "The ConfigMap to select from", |
| 551 | "secretRef": "The Secret to select from", |
| 552 | } |
| 553 | |
| 554 | func (EnvFromSource) SwaggerDoc() map[string]string { |
| 555 | return map_EnvFromSource |
| 556 | } |
| 557 | |
| 558 | var map_EnvVar = map[string]string{ |
| 559 | "": "EnvVar represents an environment variable present in a Container.", |
| 560 | "name": "Name of the environment variable. Must be a C_IDENTIFIER.", |
| 561 | "value": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", |
| 562 | "valueFrom": "Source for the environment variable's value. Cannot be used if value is not empty.", |
| 563 | } |
| 564 | |
| 565 | func (EnvVar) SwaggerDoc() map[string]string { |
| 566 | return map_EnvVar |
| 567 | } |
| 568 | |
| 569 | var map_EnvVarSource = map[string]string{ |
| 570 | "": "EnvVarSource represents a source for the value of an EnvVar.", |
| 571 | "fieldRef": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", |
| 572 | "resourceFieldRef": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", |
| 573 | "configMapKeyRef": "Selects a key of a ConfigMap.", |
| 574 | "secretKeyRef": "Selects a key of a secret in the pod's namespace", |
| 575 | } |
| 576 | |
| 577 | func (EnvVarSource) SwaggerDoc() map[string]string { |
| 578 | return map_EnvVarSource |
| 579 | } |
| 580 | |
| 581 | var map_EphemeralContainer = map[string]string{ |
| 582 | "": "An EphemeralContainer is a container that may be added temporarily to an existing pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag.", |
| 583 | "targetContainerName": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container is run in whatever namespaces are shared for the pod. Note that the container runtime must support this feature.", |
| 584 | } |
| 585 | |
| 586 | func (EphemeralContainer) SwaggerDoc() map[string]string { |
| 587 | return map_EphemeralContainer |
| 588 | } |
| 589 | |
| 590 | var map_EphemeralContainerCommon = map[string]string{ |
| 591 | "": "EphemeralContainerCommon is a copy of all fields in Container to be inlined in EphemeralContainer. This separate type allows easy conversion from EphemeralContainer to Container and allows separate documentation for the fields of EphemeralContainer. When a new field is added to Container it must be added here as well.", |
| 592 | "name": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.", |
| 593 | "image": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images", |
| 594 | "command": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", |
| 595 | "args": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", |
| 596 | "workingDir": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", |
| 597 | "ports": "Ports are not allowed for ephemeral containers.", |
| 598 | "envFrom": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", |
| 599 | "env": "List of environment variables to set in the container. Cannot be updated.", |
| 600 | "resources": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod.", |
| 601 | "volumeMounts": "Pod volumes to mount into the container's filesystem. Cannot be updated.", |
| 602 | "volumeDevices": "volumeDevices is the list of block devices to be used by the container.", |
| 603 | "livenessProbe": "Probes are not allowed for ephemeral containers.", |
| 604 | "readinessProbe": "Probes are not allowed for ephemeral containers.", |
| 605 | "startupProbe": "Probes are not allowed for ephemeral containers.", |
| 606 | "lifecycle": "Lifecycle is not allowed for ephemeral containers.", |
| 607 | "terminationMessagePath": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", |
| 608 | "terminationMessagePolicy": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", |
| 609 | "imagePullPolicy": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", |
| 610 | "securityContext": "SecurityContext is not allowed for ephemeral containers.", |
| 611 | "stdin": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", |
| 612 | "stdinOnce": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", |
| 613 | "tty": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", |
| 614 | } |
| 615 | |
| 616 | func (EphemeralContainerCommon) SwaggerDoc() map[string]string { |
| 617 | return map_EphemeralContainerCommon |
| 618 | } |
| 619 | |
| 620 | var map_EphemeralContainers = map[string]string{ |
| 621 | "": "A list of ephemeral containers used with the Pod ephemeralcontainers subresource.", |
| 622 | "ephemeralContainers": "A list of ephemeral containers associated with this pod. New ephemeral containers may be appended to this list, but existing ephemeral containers may not be removed or modified.", |
| 623 | } |
| 624 | |
| 625 | func (EphemeralContainers) SwaggerDoc() map[string]string { |
| 626 | return map_EphemeralContainers |
| 627 | } |
| 628 | |
| 629 | var map_EphemeralVolumeSource = map[string]string{ |
| 630 | "": "Represents an ephemeral volume that is handled by a normal storage driver.", |
| 631 | "volumeClaimTemplate": "Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `<pod name>-<volume name>` where `<volume name>` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes to the PVC after it has been created.\n\nRequired, must not be nil.", |
| 632 | "readOnly": "Specifies a read-only configuration for the volume. Defaults to false (read/write).", |
| 633 | } |
| 634 | |
| 635 | func (EphemeralVolumeSource) SwaggerDoc() map[string]string { |
| 636 | return map_EphemeralVolumeSource |
| 637 | } |
| 638 | |
| 639 | var map_Event = map[string]string{ |
| 640 | "": "Event is a report of an event somewhere in the cluster.", |
| 641 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 642 | "involvedObject": "The object that this event is about.", |
| 643 | "reason": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.", |
| 644 | "message": "A human-readable description of the status of this operation.", |
| 645 | "source": "The component reporting this event. Should be a short machine understandable string.", |
| 646 | "firstTimestamp": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)", |
| 647 | "lastTimestamp": "The time at which the most recent occurrence of this event was recorded.", |
| 648 | "count": "The number of times this event has occurred.", |
| 649 | "type": "Type of this event (Normal, Warning), new types could be added in the future", |
| 650 | "eventTime": "Time when this Event was first observed.", |
| 651 | "series": "Data about the Event series this event represents or nil if it's a singleton Event.", |
| 652 | "action": "What action was taken/failed regarding to the Regarding object.", |
| 653 | "related": "Optional secondary object for more complex actions.", |
| 654 | "reportingComponent": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.", |
| 655 | "reportingInstance": "ID of the controller instance, e.g. `kubelet-xyzf`.", |
| 656 | } |
| 657 | |
| 658 | func (Event) SwaggerDoc() map[string]string { |
| 659 | return map_Event |
| 660 | } |
| 661 | |
| 662 | var map_EventList = map[string]string{ |
| 663 | "": "EventList is a list of events.", |
| 664 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 665 | "items": "List of events", |
| 666 | } |
| 667 | |
| 668 | func (EventList) SwaggerDoc() map[string]string { |
| 669 | return map_EventList |
| 670 | } |
| 671 | |
| 672 | var map_EventSeries = map[string]string{ |
| 673 | "": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", |
| 674 | "count": "Number of occurrences in this series up to the last heartbeat time", |
| 675 | "lastObservedTime": "Time of the last occurrence observed", |
| 676 | } |
| 677 | |
| 678 | func (EventSeries) SwaggerDoc() map[string]string { |
| 679 | return map_EventSeries |
| 680 | } |
| 681 | |
| 682 | var map_EventSource = map[string]string{ |
| 683 | "": "EventSource contains information for an event.", |
| 684 | "component": "Component from which the event is generated.", |
| 685 | "host": "Node name on which the event is generated.", |
| 686 | } |
| 687 | |
| 688 | func (EventSource) SwaggerDoc() map[string]string { |
| 689 | return map_EventSource |
| 690 | } |
| 691 | |
| 692 | var map_ExecAction = map[string]string{ |
| 693 | "": "ExecAction describes a \"run in container\" action.", |
| 694 | "command": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", |
| 695 | } |
| 696 | |
| 697 | func (ExecAction) SwaggerDoc() map[string]string { |
| 698 | return map_ExecAction |
| 699 | } |
| 700 | |
| 701 | var map_FCVolumeSource = map[string]string{ |
| 702 | "": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", |
| 703 | "targetWWNs": "Optional: FC target worldwide names (WWNs)", |
| 704 | "lun": "Optional: FC target lun number", |
| 705 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", |
| 706 | "readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", |
| 707 | "wwids": "Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", |
| 708 | } |
| 709 | |
| 710 | func (FCVolumeSource) SwaggerDoc() map[string]string { |
| 711 | return map_FCVolumeSource |
| 712 | } |
| 713 | |
| 714 | var map_FlexPersistentVolumeSource = map[string]string{ |
| 715 | "": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", |
| 716 | "driver": "Driver is the name of the driver to use for this volume.", |
| 717 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", |
| 718 | "secretRef": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", |
| 719 | "readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", |
| 720 | "options": "Optional: Extra command options if any.", |
| 721 | } |
| 722 | |
| 723 | func (FlexPersistentVolumeSource) SwaggerDoc() map[string]string { |
| 724 | return map_FlexPersistentVolumeSource |
| 725 | } |
| 726 | |
| 727 | var map_FlexVolumeSource = map[string]string{ |
| 728 | "": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", |
| 729 | "driver": "Driver is the name of the driver to use for this volume.", |
| 730 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", |
| 731 | "secretRef": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", |
| 732 | "readOnly": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", |
| 733 | "options": "Optional: Extra command options if any.", |
| 734 | } |
| 735 | |
| 736 | func (FlexVolumeSource) SwaggerDoc() map[string]string { |
| 737 | return map_FlexVolumeSource |
| 738 | } |
| 739 | |
| 740 | var map_FlockerVolumeSource = map[string]string{ |
| 741 | "": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.", |
| 742 | "datasetName": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated", |
| 743 | "datasetUUID": "UUID of the dataset. This is unique identifier of a Flocker dataset", |
| 744 | } |
| 745 | |
| 746 | func (FlockerVolumeSource) SwaggerDoc() map[string]string { |
| 747 | return map_FlockerVolumeSource |
| 748 | } |
| 749 | |
| 750 | var map_GCEPersistentDiskVolumeSource = map[string]string{ |
| 751 | "": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", |
| 752 | "pdName": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", |
| 753 | "fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", |
| 754 | "partition": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", |
| 755 | "readOnly": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", |
| 756 | } |
| 757 | |
| 758 | func (GCEPersistentDiskVolumeSource) SwaggerDoc() map[string]string { |
| 759 | return map_GCEPersistentDiskVolumeSource |
| 760 | } |
| 761 | |
| 762 | var map_GitRepoVolumeSource = map[string]string{ |
| 763 | "": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", |
| 764 | "repository": "Repository URL", |
| 765 | "revision": "Commit hash for the specified revision.", |
| 766 | "directory": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", |
| 767 | } |
| 768 | |
| 769 | func (GitRepoVolumeSource) SwaggerDoc() map[string]string { |
| 770 | return map_GitRepoVolumeSource |
| 771 | } |
| 772 | |
| 773 | var map_GlusterfsPersistentVolumeSource = map[string]string{ |
| 774 | "": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", |
| 775 | "endpoints": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", |
| 776 | "path": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", |
| 777 | "readOnly": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", |
| 778 | "endpointsNamespace": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", |
| 779 | } |
| 780 | |
| 781 | func (GlusterfsPersistentVolumeSource) SwaggerDoc() map[string]string { |
| 782 | return map_GlusterfsPersistentVolumeSource |
| 783 | } |
| 784 | |
| 785 | var map_GlusterfsVolumeSource = map[string]string{ |
| 786 | "": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", |
| 787 | "endpoints": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", |
| 788 | "path": "Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", |
| 789 | "readOnly": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", |
| 790 | } |
| 791 | |
| 792 | func (GlusterfsVolumeSource) SwaggerDoc() map[string]string { |
| 793 | return map_GlusterfsVolumeSource |
| 794 | } |
| 795 | |
| 796 | var map_HTTPGetAction = map[string]string{ |
| 797 | "": "HTTPGetAction describes an action based on HTTP Get requests.", |
| 798 | "path": "Path to access on the HTTP server.", |
| 799 | "port": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", |
| 800 | "host": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", |
| 801 | "scheme": "Scheme to use for connecting to the host. Defaults to HTTP.", |
| 802 | "httpHeaders": "Custom headers to set in the request. HTTP allows repeated headers.", |
| 803 | } |
| 804 | |
| 805 | func (HTTPGetAction) SwaggerDoc() map[string]string { |
| 806 | return map_HTTPGetAction |
| 807 | } |
| 808 | |
| 809 | var map_HTTPHeader = map[string]string{ |
| 810 | "": "HTTPHeader describes a custom header to be used in HTTP probes", |
| 811 | "name": "The header field name", |
| 812 | "value": "The header field value", |
| 813 | } |
| 814 | |
| 815 | func (HTTPHeader) SwaggerDoc() map[string]string { |
| 816 | return map_HTTPHeader |
| 817 | } |
| 818 | |
| 819 | var map_Handler = map[string]string{ |
| 820 | "": "Handler defines a specific action that should be taken", |
| 821 | "exec": "One and only one of the following should be specified. Exec specifies the action to take.", |
| 822 | "httpGet": "HTTPGet specifies the http request to perform.", |
| 823 | "tcpSocket": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported", |
| 824 | } |
| 825 | |
| 826 | func (Handler) SwaggerDoc() map[string]string { |
| 827 | return map_Handler |
| 828 | } |
| 829 | |
| 830 | var map_HostAlias = map[string]string{ |
| 831 | "": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", |
| 832 | "ip": "IP address of the host file entry.", |
| 833 | "hostnames": "Hostnames for the above IP address.", |
| 834 | } |
| 835 | |
| 836 | func (HostAlias) SwaggerDoc() map[string]string { |
| 837 | return map_HostAlias |
| 838 | } |
| 839 | |
| 840 | var map_HostPathVolumeSource = map[string]string{ |
| 841 | "": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", |
| 842 | "path": "Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", |
| 843 | "type": "Type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", |
| 844 | } |
| 845 | |
| 846 | func (HostPathVolumeSource) SwaggerDoc() map[string]string { |
| 847 | return map_HostPathVolumeSource |
| 848 | } |
| 849 | |
| 850 | var map_ISCSIPersistentVolumeSource = map[string]string{ |
| 851 | "": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", |
| 852 | "targetPortal": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", |
| 853 | "iqn": "Target iSCSI Qualified Name.", |
| 854 | "lun": "iSCSI Target Lun number.", |
| 855 | "iscsiInterface": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", |
| 856 | "fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", |
| 857 | "readOnly": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", |
| 858 | "portals": "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", |
| 859 | "chapAuthDiscovery": "whether support iSCSI Discovery CHAP authentication", |
| 860 | "chapAuthSession": "whether support iSCSI Session CHAP authentication", |
| 861 | "secretRef": "CHAP Secret for iSCSI target and initiator authentication", |
| 862 | "initiatorName": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.", |
| 863 | } |
| 864 | |
| 865 | func (ISCSIPersistentVolumeSource) SwaggerDoc() map[string]string { |
| 866 | return map_ISCSIPersistentVolumeSource |
| 867 | } |
| 868 | |
| 869 | var map_ISCSIVolumeSource = map[string]string{ |
| 870 | "": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", |
| 871 | "targetPortal": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", |
| 872 | "iqn": "Target iSCSI Qualified Name.", |
| 873 | "lun": "iSCSI Target Lun number.", |
| 874 | "iscsiInterface": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", |
| 875 | "fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", |
| 876 | "readOnly": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", |
| 877 | "portals": "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", |
| 878 | "chapAuthDiscovery": "whether support iSCSI Discovery CHAP authentication", |
| 879 | "chapAuthSession": "whether support iSCSI Session CHAP authentication", |
| 880 | "secretRef": "CHAP Secret for iSCSI target and initiator authentication", |
| 881 | "initiatorName": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.", |
| 882 | } |
| 883 | |
| 884 | func (ISCSIVolumeSource) SwaggerDoc() map[string]string { |
| 885 | return map_ISCSIVolumeSource |
| 886 | } |
| 887 | |
| 888 | var map_KeyToPath = map[string]string{ |
| 889 | "": "Maps a string key to a path within a volume.", |
| 890 | "key": "The key to project.", |
| 891 | "path": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", |
| 892 | "mode": "Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", |
| 893 | } |
| 894 | |
| 895 | func (KeyToPath) SwaggerDoc() map[string]string { |
| 896 | return map_KeyToPath |
| 897 | } |
| 898 | |
| 899 | var map_Lifecycle = map[string]string{ |
| 900 | "": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", |
| 901 | "postStart": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", |
| 902 | "preStop": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The reason for termination is passed to the handler. The Pod's termination grace period countdown begins before the PreStop hooked is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period. Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", |
| 903 | } |
| 904 | |
| 905 | func (Lifecycle) SwaggerDoc() map[string]string { |
| 906 | return map_Lifecycle |
| 907 | } |
| 908 | |
| 909 | var map_LimitRange = map[string]string{ |
| 910 | "": "LimitRange sets resource usage limits for each kind of resource in a Namespace.", |
| 911 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 912 | "spec": "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 913 | } |
| 914 | |
| 915 | func (LimitRange) SwaggerDoc() map[string]string { |
| 916 | return map_LimitRange |
| 917 | } |
| 918 | |
| 919 | var map_LimitRangeItem = map[string]string{ |
| 920 | "": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.", |
| 921 | "type": "Type of resource that this limit applies to.", |
| 922 | "max": "Max usage constraints on this kind by resource name.", |
| 923 | "min": "Min usage constraints on this kind by resource name.", |
| 924 | "default": "Default resource requirement limit value by resource name if resource limit is omitted.", |
| 925 | "defaultRequest": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", |
| 926 | "maxLimitRequestRatio": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", |
| 927 | } |
| 928 | |
| 929 | func (LimitRangeItem) SwaggerDoc() map[string]string { |
| 930 | return map_LimitRangeItem |
| 931 | } |
| 932 | |
| 933 | var map_LimitRangeList = map[string]string{ |
| 934 | "": "LimitRangeList is a list of LimitRange items.", |
| 935 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 936 | "items": "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", |
| 937 | } |
| 938 | |
| 939 | func (LimitRangeList) SwaggerDoc() map[string]string { |
| 940 | return map_LimitRangeList |
| 941 | } |
| 942 | |
| 943 | var map_LimitRangeSpec = map[string]string{ |
| 944 | "": "LimitRangeSpec defines a min/max usage limit for resources that match on kind.", |
| 945 | "limits": "Limits is the list of LimitRangeItem objects that are enforced.", |
| 946 | } |
| 947 | |
| 948 | func (LimitRangeSpec) SwaggerDoc() map[string]string { |
| 949 | return map_LimitRangeSpec |
| 950 | } |
| 951 | |
| 952 | var map_LoadBalancerIngress = map[string]string{ |
| 953 | "": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", |
| 954 | "ip": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)", |
| 955 | "hostname": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)", |
| 956 | } |
| 957 | |
| 958 | func (LoadBalancerIngress) SwaggerDoc() map[string]string { |
| 959 | return map_LoadBalancerIngress |
| 960 | } |
| 961 | |
| 962 | var map_LoadBalancerStatus = map[string]string{ |
| 963 | "": "LoadBalancerStatus represents the status of a load-balancer.", |
| 964 | "ingress": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.", |
| 965 | } |
| 966 | |
| 967 | func (LoadBalancerStatus) SwaggerDoc() map[string]string { |
| 968 | return map_LoadBalancerStatus |
| 969 | } |
| 970 | |
| 971 | var map_LocalObjectReference = map[string]string{ |
| 972 | "": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", |
| 973 | "name": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", |
| 974 | } |
| 975 | |
| 976 | func (LocalObjectReference) SwaggerDoc() map[string]string { |
| 977 | return map_LocalObjectReference |
| 978 | } |
| 979 | |
| 980 | var map_LocalVolumeSource = map[string]string{ |
| 981 | "": "Local represents directly-attached storage with node affinity (Beta feature)", |
| 982 | "path": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).", |
| 983 | "fsType": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified.", |
| 984 | } |
| 985 | |
| 986 | func (LocalVolumeSource) SwaggerDoc() map[string]string { |
| 987 | return map_LocalVolumeSource |
| 988 | } |
| 989 | |
| 990 | var map_NFSVolumeSource = map[string]string{ |
| 991 | "": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", |
| 992 | "server": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", |
| 993 | "path": "Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", |
| 994 | "readOnly": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", |
| 995 | } |
| 996 | |
| 997 | func (NFSVolumeSource) SwaggerDoc() map[string]string { |
| 998 | return map_NFSVolumeSource |
| 999 | } |
| 1000 | |
| 1001 | var map_Namespace = map[string]string{ |
| 1002 | "": "Namespace provides a scope for Names. Use of multiple namespaces is optional.", |
| 1003 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 1004 | "spec": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1005 | "status": "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1006 | } |
| 1007 | |
| 1008 | func (Namespace) SwaggerDoc() map[string]string { |
| 1009 | return map_Namespace |
| 1010 | } |
| 1011 | |
| 1012 | var map_NamespaceCondition = map[string]string{ |
| 1013 | "": "NamespaceCondition contains details about state of namespace.", |
| 1014 | "type": "Type of namespace controller condition.", |
| 1015 | "status": "Status of the condition, one of True, False, Unknown.", |
| 1016 | } |
| 1017 | |
| 1018 | func (NamespaceCondition) SwaggerDoc() map[string]string { |
| 1019 | return map_NamespaceCondition |
| 1020 | } |
| 1021 | |
| 1022 | var map_NamespaceList = map[string]string{ |
| 1023 | "": "NamespaceList is a list of Namespaces.", |
| 1024 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 1025 | "items": "Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", |
| 1026 | } |
| 1027 | |
| 1028 | func (NamespaceList) SwaggerDoc() map[string]string { |
| 1029 | return map_NamespaceList |
| 1030 | } |
| 1031 | |
| 1032 | var map_NamespaceSpec = map[string]string{ |
| 1033 | "": "NamespaceSpec describes the attributes on a Namespace.", |
| 1034 | "finalizers": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", |
| 1035 | } |
| 1036 | |
| 1037 | func (NamespaceSpec) SwaggerDoc() map[string]string { |
| 1038 | return map_NamespaceSpec |
| 1039 | } |
| 1040 | |
| 1041 | var map_NamespaceStatus = map[string]string{ |
| 1042 | "": "NamespaceStatus is information about the current status of a Namespace.", |
| 1043 | "phase": "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", |
| 1044 | "conditions": "Represents the latest available observations of a namespace's current state.", |
| 1045 | } |
| 1046 | |
| 1047 | func (NamespaceStatus) SwaggerDoc() map[string]string { |
| 1048 | return map_NamespaceStatus |
| 1049 | } |
| 1050 | |
| 1051 | var map_Node = map[string]string{ |
| 1052 | "": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", |
| 1053 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 1054 | "spec": "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1055 | "status": "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1056 | } |
| 1057 | |
| 1058 | func (Node) SwaggerDoc() map[string]string { |
| 1059 | return map_Node |
| 1060 | } |
| 1061 | |
| 1062 | var map_NodeAddress = map[string]string{ |
| 1063 | "": "NodeAddress contains information for the node's address.", |
| 1064 | "type": "Node address type, one of Hostname, ExternalIP or InternalIP.", |
| 1065 | "address": "The node address.", |
| 1066 | } |
| 1067 | |
| 1068 | func (NodeAddress) SwaggerDoc() map[string]string { |
| 1069 | return map_NodeAddress |
| 1070 | } |
| 1071 | |
| 1072 | var map_NodeAffinity = map[string]string{ |
| 1073 | "": "Node affinity is a group of node affinity scheduling rules.", |
| 1074 | "requiredDuringSchedulingIgnoredDuringExecution": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.", |
| 1075 | "preferredDuringSchedulingIgnoredDuringExecution": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", |
| 1076 | } |
| 1077 | |
| 1078 | func (NodeAffinity) SwaggerDoc() map[string]string { |
| 1079 | return map_NodeAffinity |
| 1080 | } |
| 1081 | |
| 1082 | var map_NodeCondition = map[string]string{ |
| 1083 | "": "NodeCondition contains condition information for a node.", |
| 1084 | "type": "Type of node condition.", |
| 1085 | "status": "Status of the condition, one of True, False, Unknown.", |
| 1086 | "lastHeartbeatTime": "Last time we got an update on a given condition.", |
| 1087 | "lastTransitionTime": "Last time the condition transit from one status to another.", |
| 1088 | "reason": "(brief) reason for the condition's last transition.", |
| 1089 | "message": "Human readable message indicating details about last transition.", |
| 1090 | } |
| 1091 | |
| 1092 | func (NodeCondition) SwaggerDoc() map[string]string { |
| 1093 | return map_NodeCondition |
| 1094 | } |
| 1095 | |
| 1096 | var map_NodeConfigSource = map[string]string{ |
| 1097 | "": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.", |
| 1098 | "configMap": "ConfigMap is a reference to a Node's ConfigMap", |
| 1099 | } |
| 1100 | |
| 1101 | func (NodeConfigSource) SwaggerDoc() map[string]string { |
| 1102 | return map_NodeConfigSource |
| 1103 | } |
| 1104 | |
| 1105 | var map_NodeConfigStatus = map[string]string{ |
| 1106 | "": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.", |
| 1107 | "assigned": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned.", |
| 1108 | "active": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error.", |
| 1109 | "lastKnownGood": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future.", |
| 1110 | "error": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.", |
| 1111 | } |
| 1112 | |
| 1113 | func (NodeConfigStatus) SwaggerDoc() map[string]string { |
| 1114 | return map_NodeConfigStatus |
| 1115 | } |
| 1116 | |
| 1117 | var map_NodeDaemonEndpoints = map[string]string{ |
| 1118 | "": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.", |
| 1119 | "kubeletEndpoint": "Endpoint on which Kubelet is listening.", |
| 1120 | } |
| 1121 | |
| 1122 | func (NodeDaemonEndpoints) SwaggerDoc() map[string]string { |
| 1123 | return map_NodeDaemonEndpoints |
| 1124 | } |
| 1125 | |
| 1126 | var map_NodeList = map[string]string{ |
| 1127 | "": "NodeList is the whole list of all Nodes which have been registered with master.", |
| 1128 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 1129 | "items": "List of nodes", |
| 1130 | } |
| 1131 | |
| 1132 | func (NodeList) SwaggerDoc() map[string]string { |
| 1133 | return map_NodeList |
| 1134 | } |
| 1135 | |
| 1136 | var map_NodeProxyOptions = map[string]string{ |
| 1137 | "": "NodeProxyOptions is the query options to a Node's proxy call.", |
| 1138 | "path": "Path is the URL path to use for the current proxy request to node.", |
| 1139 | } |
| 1140 | |
| 1141 | func (NodeProxyOptions) SwaggerDoc() map[string]string { |
| 1142 | return map_NodeProxyOptions |
| 1143 | } |
| 1144 | |
| 1145 | var map_NodeResources = map[string]string{ |
| 1146 | "": "NodeResources is an object for conveying resource information about a node. see https://kubernetes.io/docs/concepts/architecture/nodes/#capacity for more details.", |
| 1147 | "Capacity": "Capacity represents the available resources of a node", |
| 1148 | } |
| 1149 | |
| 1150 | func (NodeResources) SwaggerDoc() map[string]string { |
| 1151 | return map_NodeResources |
| 1152 | } |
| 1153 | |
| 1154 | var map_NodeSelector = map[string]string{ |
| 1155 | "": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.", |
| 1156 | "nodeSelectorTerms": "Required. A list of node selector terms. The terms are ORed.", |
| 1157 | } |
| 1158 | |
| 1159 | func (NodeSelector) SwaggerDoc() map[string]string { |
| 1160 | return map_NodeSelector |
| 1161 | } |
| 1162 | |
| 1163 | var map_NodeSelectorRequirement = map[string]string{ |
| 1164 | "": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", |
| 1165 | "key": "The label key that the selector applies to.", |
| 1166 | "operator": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", |
| 1167 | "values": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", |
| 1168 | } |
| 1169 | |
| 1170 | func (NodeSelectorRequirement) SwaggerDoc() map[string]string { |
| 1171 | return map_NodeSelectorRequirement |
| 1172 | } |
| 1173 | |
| 1174 | var map_NodeSelectorTerm = map[string]string{ |
| 1175 | "": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", |
| 1176 | "matchExpressions": "A list of node selector requirements by node's labels.", |
| 1177 | "matchFields": "A list of node selector requirements by node's fields.", |
| 1178 | } |
| 1179 | |
| 1180 | func (NodeSelectorTerm) SwaggerDoc() map[string]string { |
| 1181 | return map_NodeSelectorTerm |
| 1182 | } |
| 1183 | |
| 1184 | var map_NodeSpec = map[string]string{ |
| 1185 | "": "NodeSpec describes the attributes that a node is created with.", |
| 1186 | "podCIDR": "PodCIDR represents the pod IP range assigned to the node.", |
| 1187 | "podCIDRs": "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.", |
| 1188 | "providerID": "ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>", |
| 1189 | "unschedulable": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", |
| 1190 | "taints": "If specified, the node's taints.", |
| 1191 | "configSource": "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field", |
| 1192 | "externalID": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", |
| 1193 | } |
| 1194 | |
| 1195 | func (NodeSpec) SwaggerDoc() map[string]string { |
| 1196 | return map_NodeSpec |
| 1197 | } |
| 1198 | |
| 1199 | var map_NodeStatus = map[string]string{ |
| 1200 | "": "NodeStatus is information about the current status of a node.", |
| 1201 | "capacity": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", |
| 1202 | "allocatable": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", |
| 1203 | "phase": "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.", |
| 1204 | "conditions": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition", |
| 1205 | "addresses": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example.", |
| 1206 | "daemonEndpoints": "Endpoints of daemons running on the Node.", |
| 1207 | "nodeInfo": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info", |
| 1208 | "images": "List of container images on this node", |
| 1209 | "volumesInUse": "List of attachable volumes in use (mounted) by the node.", |
| 1210 | "volumesAttached": "List of volumes that are attached to the node.", |
| 1211 | "config": "Status of the config assigned to the node via the dynamic Kubelet config feature.", |
| 1212 | } |
| 1213 | |
| 1214 | func (NodeStatus) SwaggerDoc() map[string]string { |
| 1215 | return map_NodeStatus |
| 1216 | } |
| 1217 | |
| 1218 | var map_NodeSystemInfo = map[string]string{ |
| 1219 | "": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", |
| 1220 | "machineID": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html", |
| 1221 | "systemUUID": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid", |
| 1222 | "bootID": "Boot ID reported by the node.", |
| 1223 | "kernelVersion": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).", |
| 1224 | "osImage": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", |
| 1225 | "containerRuntimeVersion": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).", |
| 1226 | "kubeletVersion": "Kubelet Version reported by the node.", |
| 1227 | "kubeProxyVersion": "KubeProxy Version reported by the node.", |
| 1228 | "operatingSystem": "The Operating System reported by the node", |
| 1229 | "architecture": "The Architecture reported by the node", |
| 1230 | } |
| 1231 | |
| 1232 | func (NodeSystemInfo) SwaggerDoc() map[string]string { |
| 1233 | return map_NodeSystemInfo |
| 1234 | } |
| 1235 | |
| 1236 | var map_ObjectFieldSelector = map[string]string{ |
| 1237 | "": "ObjectFieldSelector selects an APIVersioned field of an object.", |
| 1238 | "apiVersion": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", |
| 1239 | "fieldPath": "Path of the field to select in the specified API version.", |
| 1240 | } |
| 1241 | |
| 1242 | func (ObjectFieldSelector) SwaggerDoc() map[string]string { |
| 1243 | return map_ObjectFieldSelector |
| 1244 | } |
| 1245 | |
| 1246 | var map_ObjectReference = map[string]string{ |
| 1247 | "": "ObjectReference contains enough information to let you inspect or modify the referred object.", |
| 1248 | "kind": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 1249 | "namespace": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", |
| 1250 | "name": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", |
| 1251 | "uid": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", |
| 1252 | "apiVersion": "API version of the referent.", |
| 1253 | "resourceVersion": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", |
| 1254 | "fieldPath": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", |
| 1255 | } |
| 1256 | |
| 1257 | func (ObjectReference) SwaggerDoc() map[string]string { |
| 1258 | return map_ObjectReference |
| 1259 | } |
| 1260 | |
| 1261 | var map_PersistentVolume = map[string]string{ |
| 1262 | "": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", |
| 1263 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 1264 | "spec": "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes", |
| 1265 | "status": "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes", |
| 1266 | } |
| 1267 | |
| 1268 | func (PersistentVolume) SwaggerDoc() map[string]string { |
| 1269 | return map_PersistentVolume |
| 1270 | } |
| 1271 | |
| 1272 | var map_PersistentVolumeClaim = map[string]string{ |
| 1273 | "": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", |
| 1274 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 1275 | "spec": "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", |
| 1276 | "status": "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", |
| 1277 | } |
| 1278 | |
| 1279 | func (PersistentVolumeClaim) SwaggerDoc() map[string]string { |
| 1280 | return map_PersistentVolumeClaim |
| 1281 | } |
| 1282 | |
| 1283 | var map_PersistentVolumeClaimCondition = map[string]string{ |
| 1284 | "": "PersistentVolumeClaimCondition contails details about state of pvc", |
| 1285 | "lastProbeTime": "Last time we probed the condition.", |
| 1286 | "lastTransitionTime": "Last time the condition transitioned from one status to another.", |
| 1287 | "reason": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.", |
| 1288 | "message": "Human-readable message indicating details about last transition.", |
| 1289 | } |
| 1290 | |
| 1291 | func (PersistentVolumeClaimCondition) SwaggerDoc() map[string]string { |
| 1292 | return map_PersistentVolumeClaimCondition |
| 1293 | } |
| 1294 | |
| 1295 | var map_PersistentVolumeClaimList = map[string]string{ |
| 1296 | "": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.", |
| 1297 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 1298 | "items": "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", |
| 1299 | } |
| 1300 | |
| 1301 | func (PersistentVolumeClaimList) SwaggerDoc() map[string]string { |
| 1302 | return map_PersistentVolumeClaimList |
| 1303 | } |
| 1304 | |
| 1305 | var map_PersistentVolumeClaimSpec = map[string]string{ |
| 1306 | "": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", |
| 1307 | "accessModes": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", |
| 1308 | "selector": "A label query over volumes to consider for binding.", |
| 1309 | "resources": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", |
| 1310 | "volumeName": "VolumeName is the binding reference to the PersistentVolume backing this claim.", |
| 1311 | "storageClassName": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", |
| 1312 | "volumeMode": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.", |
| 1313 | "dataSource": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change.", |
| 1314 | } |
| 1315 | |
| 1316 | func (PersistentVolumeClaimSpec) SwaggerDoc() map[string]string { |
| 1317 | return map_PersistentVolumeClaimSpec |
| 1318 | } |
| 1319 | |
| 1320 | var map_PersistentVolumeClaimStatus = map[string]string{ |
| 1321 | "": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", |
| 1322 | "phase": "Phase represents the current phase of PersistentVolumeClaim.", |
| 1323 | "accessModes": "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", |
| 1324 | "capacity": "Represents the actual resources of the underlying volume.", |
| 1325 | "conditions": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.", |
| 1326 | } |
| 1327 | |
| 1328 | func (PersistentVolumeClaimStatus) SwaggerDoc() map[string]string { |
| 1329 | return map_PersistentVolumeClaimStatus |
| 1330 | } |
| 1331 | |
| 1332 | var map_PersistentVolumeClaimTemplate = map[string]string{ |
| 1333 | "": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.", |
| 1334 | "metadata": "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.", |
| 1335 | "spec": "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.", |
| 1336 | } |
| 1337 | |
| 1338 | func (PersistentVolumeClaimTemplate) SwaggerDoc() map[string]string { |
| 1339 | return map_PersistentVolumeClaimTemplate |
| 1340 | } |
| 1341 | |
| 1342 | var map_PersistentVolumeClaimVolumeSource = map[string]string{ |
| 1343 | "": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", |
| 1344 | "claimName": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", |
| 1345 | "readOnly": "Will force the ReadOnly setting in VolumeMounts. Default false.", |
| 1346 | } |
| 1347 | |
| 1348 | func (PersistentVolumeClaimVolumeSource) SwaggerDoc() map[string]string { |
| 1349 | return map_PersistentVolumeClaimVolumeSource |
| 1350 | } |
| 1351 | |
| 1352 | var map_PersistentVolumeList = map[string]string{ |
| 1353 | "": "PersistentVolumeList is a list of PersistentVolume items.", |
| 1354 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 1355 | "items": "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", |
| 1356 | } |
| 1357 | |
| 1358 | func (PersistentVolumeList) SwaggerDoc() map[string]string { |
| 1359 | return map_PersistentVolumeList |
| 1360 | } |
| 1361 | |
| 1362 | var map_PersistentVolumeSource = map[string]string{ |
| 1363 | "": "PersistentVolumeSource is similar to VolumeSource but meant for the administrator who creates PVs. Exactly one of its members must be set.", |
| 1364 | "gcePersistentDisk": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", |
| 1365 | "awsElasticBlockStore": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", |
| 1366 | "hostPath": "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", |
| 1367 | "glusterfs": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md", |
| 1368 | "nfs": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", |
| 1369 | "rbd": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md", |
| 1370 | "iscsi": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.", |
| 1371 | "cinder": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", |
| 1372 | "cephfs": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", |
| 1373 | "fc": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", |
| 1374 | "flocker": "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", |
| 1375 | "flexVolume": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", |
| 1376 | "azureFile": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", |
| 1377 | "vsphereVolume": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", |
| 1378 | "quobyte": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", |
| 1379 | "azureDisk": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", |
| 1380 | "photonPersistentDisk": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", |
| 1381 | "portworxVolume": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine", |
| 1382 | "scaleIO": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", |
| 1383 | "local": "Local represents directly-attached storage with node affinity", |
| 1384 | "storageos": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md", |
| 1385 | "csi": "CSI represents storage that is handled by an external CSI driver (Beta feature).", |
| 1386 | } |
| 1387 | |
| 1388 | func (PersistentVolumeSource) SwaggerDoc() map[string]string { |
| 1389 | return map_PersistentVolumeSource |
| 1390 | } |
| 1391 | |
| 1392 | var map_PersistentVolumeSpec = map[string]string{ |
| 1393 | "": "PersistentVolumeSpec is the specification of a persistent volume.", |
| 1394 | "capacity": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", |
| 1395 | "accessModes": "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes", |
| 1396 | "claimRef": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding", |
| 1397 | "persistentVolumeReclaimPolicy": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming", |
| 1398 | "storageClassName": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.", |
| 1399 | "mountOptions": "A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options", |
| 1400 | "volumeMode": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.", |
| 1401 | "nodeAffinity": "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.", |
| 1402 | } |
| 1403 | |
| 1404 | func (PersistentVolumeSpec) SwaggerDoc() map[string]string { |
| 1405 | return map_PersistentVolumeSpec |
| 1406 | } |
| 1407 | |
| 1408 | var map_PersistentVolumeStatus = map[string]string{ |
| 1409 | "": "PersistentVolumeStatus is the current status of a persistent volume.", |
| 1410 | "phase": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase", |
| 1411 | "message": "A human-readable message indicating details about why the volume is in this state.", |
| 1412 | "reason": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.", |
| 1413 | } |
| 1414 | |
| 1415 | func (PersistentVolumeStatus) SwaggerDoc() map[string]string { |
| 1416 | return map_PersistentVolumeStatus |
| 1417 | } |
| 1418 | |
| 1419 | var map_PhotonPersistentDiskVolumeSource = map[string]string{ |
| 1420 | "": "Represents a Photon Controller persistent disk resource.", |
| 1421 | "pdID": "ID that identifies Photon Controller persistent disk", |
| 1422 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", |
| 1423 | } |
| 1424 | |
| 1425 | func (PhotonPersistentDiskVolumeSource) SwaggerDoc() map[string]string { |
| 1426 | return map_PhotonPersistentDiskVolumeSource |
| 1427 | } |
| 1428 | |
| 1429 | var map_Pod = map[string]string{ |
| 1430 | "": "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.", |
| 1431 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 1432 | "spec": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1433 | "status": "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1434 | } |
| 1435 | |
| 1436 | func (Pod) SwaggerDoc() map[string]string { |
| 1437 | return map_Pod |
| 1438 | } |
| 1439 | |
| 1440 | var map_PodAffinity = map[string]string{ |
| 1441 | "": "Pod affinity is a group of inter pod affinity scheduling rules.", |
| 1442 | "requiredDuringSchedulingIgnoredDuringExecution": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", |
| 1443 | "preferredDuringSchedulingIgnoredDuringExecution": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", |
| 1444 | } |
| 1445 | |
| 1446 | func (PodAffinity) SwaggerDoc() map[string]string { |
| 1447 | return map_PodAffinity |
| 1448 | } |
| 1449 | |
| 1450 | var map_PodAffinityTerm = map[string]string{ |
| 1451 | "": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running", |
| 1452 | "labelSelector": "A label query over a set of resources, in this case pods.", |
| 1453 | "namespaces": "namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\"", |
| 1454 | "topologyKey": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", |
| 1455 | } |
| 1456 | |
| 1457 | func (PodAffinityTerm) SwaggerDoc() map[string]string { |
| 1458 | return map_PodAffinityTerm |
| 1459 | } |
| 1460 | |
| 1461 | var map_PodAntiAffinity = map[string]string{ |
| 1462 | "": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", |
| 1463 | "requiredDuringSchedulingIgnoredDuringExecution": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", |
| 1464 | "preferredDuringSchedulingIgnoredDuringExecution": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", |
| 1465 | } |
| 1466 | |
| 1467 | func (PodAntiAffinity) SwaggerDoc() map[string]string { |
| 1468 | return map_PodAntiAffinity |
| 1469 | } |
| 1470 | |
| 1471 | var map_PodAttachOptions = map[string]string{ |
| 1472 | "": "PodAttachOptions is the query options to a Pod's remote attach call.", |
| 1473 | "stdin": "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.", |
| 1474 | "stdout": "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.", |
| 1475 | "stderr": "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.", |
| 1476 | "tty": "TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.", |
| 1477 | "container": "The container in which to execute the command. Defaults to only container if there is only one container in the pod.", |
| 1478 | } |
| 1479 | |
| 1480 | func (PodAttachOptions) SwaggerDoc() map[string]string { |
| 1481 | return map_PodAttachOptions |
| 1482 | } |
| 1483 | |
| 1484 | var map_PodCondition = map[string]string{ |
| 1485 | "": "PodCondition contains details for the current condition of this pod.", |
| 1486 | "type": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", |
| 1487 | "status": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", |
| 1488 | "lastProbeTime": "Last time we probed the condition.", |
| 1489 | "lastTransitionTime": "Last time the condition transitioned from one status to another.", |
| 1490 | "reason": "Unique, one-word, CamelCase reason for the condition's last transition.", |
| 1491 | "message": "Human-readable message indicating details about last transition.", |
| 1492 | } |
| 1493 | |
| 1494 | func (PodCondition) SwaggerDoc() map[string]string { |
| 1495 | return map_PodCondition |
| 1496 | } |
| 1497 | |
| 1498 | var map_PodDNSConfig = map[string]string{ |
| 1499 | "": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", |
| 1500 | "nameservers": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.", |
| 1501 | "searches": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.", |
| 1502 | "options": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.", |
| 1503 | } |
| 1504 | |
| 1505 | func (PodDNSConfig) SwaggerDoc() map[string]string { |
| 1506 | return map_PodDNSConfig |
| 1507 | } |
| 1508 | |
| 1509 | var map_PodDNSConfigOption = map[string]string{ |
| 1510 | "": "PodDNSConfigOption defines DNS resolver options of a pod.", |
| 1511 | "name": "Required.", |
| 1512 | } |
| 1513 | |
| 1514 | func (PodDNSConfigOption) SwaggerDoc() map[string]string { |
| 1515 | return map_PodDNSConfigOption |
| 1516 | } |
| 1517 | |
| 1518 | var map_PodExecOptions = map[string]string{ |
| 1519 | "": "PodExecOptions is the query options to a Pod's remote exec call.", |
| 1520 | "stdin": "Redirect the standard input stream of the pod for this call. Defaults to false.", |
| 1521 | "stdout": "Redirect the standard output stream of the pod for this call. Defaults to true.", |
| 1522 | "stderr": "Redirect the standard error stream of the pod for this call. Defaults to true.", |
| 1523 | "tty": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.", |
| 1524 | "container": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.", |
| 1525 | "command": "Command is the remote command to execute. argv array. Not executed within a shell.", |
| 1526 | } |
| 1527 | |
| 1528 | func (PodExecOptions) SwaggerDoc() map[string]string { |
| 1529 | return map_PodExecOptions |
| 1530 | } |
| 1531 | |
| 1532 | var map_PodIP = map[string]string{ |
| 1533 | "": "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n IP: An IP address allocated to the pod. Routable at least within the cluster.", |
| 1534 | "ip": "ip is an IP address (IPv4 or IPv6) assigned to the pod", |
| 1535 | } |
| 1536 | |
| 1537 | func (PodIP) SwaggerDoc() map[string]string { |
| 1538 | return map_PodIP |
| 1539 | } |
| 1540 | |
| 1541 | var map_PodList = map[string]string{ |
| 1542 | "": "PodList is a list of Pods.", |
| 1543 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 1544 | "items": "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", |
| 1545 | } |
| 1546 | |
| 1547 | func (PodList) SwaggerDoc() map[string]string { |
| 1548 | return map_PodList |
| 1549 | } |
| 1550 | |
| 1551 | var map_PodLogOptions = map[string]string{ |
| 1552 | "": "PodLogOptions is the query options for a Pod's logs REST call.", |
| 1553 | "container": "The container for which to stream logs. Defaults to only container if there is one container in the pod.", |
| 1554 | "follow": "Follow the log stream of the pod. Defaults to false.", |
| 1555 | "previous": "Return previous terminated container logs. Defaults to false.", |
| 1556 | "sinceSeconds": "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", |
| 1557 | "sinceTime": "An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", |
| 1558 | "timestamps": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.", |
| 1559 | "tailLines": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime", |
| 1560 | "limitBytes": "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.", |
| 1561 | "insecureSkipTLSVerifyBackend": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).", |
| 1562 | } |
| 1563 | |
| 1564 | func (PodLogOptions) SwaggerDoc() map[string]string { |
| 1565 | return map_PodLogOptions |
| 1566 | } |
| 1567 | |
| 1568 | var map_PodPortForwardOptions = map[string]string{ |
| 1569 | "": "PodPortForwardOptions is the query options to a Pod's port forward call when using WebSockets. The `port` query parameter must specify the port or ports (comma separated) to forward over. Port forwarding over SPDY does not use these options. It requires the port to be passed in the `port` header as part of request.", |
| 1570 | "ports": "List of ports to forward Required when using WebSockets", |
| 1571 | } |
| 1572 | |
| 1573 | func (PodPortForwardOptions) SwaggerDoc() map[string]string { |
| 1574 | return map_PodPortForwardOptions |
| 1575 | } |
| 1576 | |
| 1577 | var map_PodProxyOptions = map[string]string{ |
| 1578 | "": "PodProxyOptions is the query options to a Pod's proxy call.", |
| 1579 | "path": "Path is the URL path to use for the current proxy request to pod.", |
| 1580 | } |
| 1581 | |
| 1582 | func (PodProxyOptions) SwaggerDoc() map[string]string { |
| 1583 | return map_PodProxyOptions |
| 1584 | } |
| 1585 | |
| 1586 | var map_PodReadinessGate = map[string]string{ |
| 1587 | "": "PodReadinessGate contains the reference to a pod condition", |
| 1588 | "conditionType": "ConditionType refers to a condition in the pod's condition list with matching type.", |
| 1589 | } |
| 1590 | |
| 1591 | func (PodReadinessGate) SwaggerDoc() map[string]string { |
| 1592 | return map_PodReadinessGate |
| 1593 | } |
| 1594 | |
| 1595 | var map_PodSecurityContext = map[string]string{ |
| 1596 | "": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.", |
| 1597 | "seLinuxOptions": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", |
| 1598 | "windowsOptions": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", |
| 1599 | "runAsUser": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", |
| 1600 | "runAsGroup": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", |
| 1601 | "runAsNonRoot": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", |
| 1602 | "supplementalGroups": "A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container.", |
| 1603 | "fsGroup": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw ", |
| 1604 | "sysctls": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.", |
| 1605 | "fsGroupChangePolicy": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified defaults to \"Always\".", |
| 1606 | "seccompProfile": "The seccomp options to use by the containers in this pod.", |
| 1607 | } |
| 1608 | |
| 1609 | func (PodSecurityContext) SwaggerDoc() map[string]string { |
| 1610 | return map_PodSecurityContext |
| 1611 | } |
| 1612 | |
| 1613 | var map_PodSignature = map[string]string{ |
| 1614 | "": "Describes the class of pods that should avoid this node. Exactly one field should be set.", |
| 1615 | "podController": "Reference to controller whose pods should avoid this node.", |
| 1616 | } |
| 1617 | |
| 1618 | func (PodSignature) SwaggerDoc() map[string]string { |
| 1619 | return map_PodSignature |
| 1620 | } |
| 1621 | |
| 1622 | var map_PodSpec = map[string]string{ |
| 1623 | "": "PodSpec is a description of a pod.", |
| 1624 | "volumes": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes", |
| 1625 | "initContainers": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/", |
| 1626 | "containers": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", |
| 1627 | "ephemeralContainers": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.", |
| 1628 | "restartPolicy": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", |
| 1629 | "terminationGracePeriodSeconds": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", |
| 1630 | "activeDeadlineSeconds": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", |
| 1631 | "dnsPolicy": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", |
| 1632 | "nodeSelector": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", |
| 1633 | "serviceAccountName": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", |
| 1634 | "serviceAccount": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.", |
| 1635 | "automountServiceAccountToken": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", |
| 1636 | "nodeName": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.", |
| 1637 | "hostNetwork": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", |
| 1638 | "hostPID": "Use the host's pid namespace. Optional: Default to false.", |
| 1639 | "hostIPC": "Use the host's ipc namespace. Optional: Default to false.", |
| 1640 | "shareProcessNamespace": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.", |
| 1641 | "securityContext": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.", |
| 1642 | "imagePullSecrets": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod", |
| 1643 | "hostname": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", |
| 1644 | "subdomain": "If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all.", |
| 1645 | "affinity": "If specified, the pod's scheduling constraints", |
| 1646 | "schedulerName": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.", |
| 1647 | "tolerations": "If specified, the pod's tolerations.", |
| 1648 | "hostAliases": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.", |
| 1649 | "priorityClassName": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", |
| 1650 | "priority": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", |
| 1651 | "dnsConfig": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.", |
| 1652 | "readinessGates": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md", |
| 1653 | "runtimeClassName": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.", |
| 1654 | "enableServiceLinks": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.", |
| 1655 | "preemptionPolicy": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.", |
| 1656 | "overhead": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature.", |
| 1657 | "topologySpreadConstraints": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed.", |
| 1658 | "setHostnameAsFQDN": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.", |
| 1659 | } |
| 1660 | |
| 1661 | func (PodSpec) SwaggerDoc() map[string]string { |
| 1662 | return map_PodSpec |
| 1663 | } |
| 1664 | |
| 1665 | var map_PodStatus = map[string]string{ |
| 1666 | "": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.", |
| 1667 | "phase": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", |
| 1668 | "conditions": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", |
| 1669 | "message": "A human readable message indicating details about why the pod is in this condition.", |
| 1670 | "reason": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'", |
| 1671 | "nominatedNodeName": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.", |
| 1672 | "hostIP": "IP address of the host to which the pod is assigned. Empty if not yet scheduled.", |
| 1673 | "podIP": "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.", |
| 1674 | "podIPs": "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet.", |
| 1675 | "startTime": "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.", |
| 1676 | "initContainerStatuses": "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", |
| 1677 | "containerStatuses": "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", |
| 1678 | "qosClass": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md", |
| 1679 | "ephemeralContainerStatuses": "Status for any ephemeral containers that have run in this pod. This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature.", |
| 1680 | } |
| 1681 | |
| 1682 | func (PodStatus) SwaggerDoc() map[string]string { |
| 1683 | return map_PodStatus |
| 1684 | } |
| 1685 | |
| 1686 | var map_PodStatusResult = map[string]string{ |
| 1687 | "": "PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded", |
| 1688 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 1689 | "status": "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1690 | } |
| 1691 | |
| 1692 | func (PodStatusResult) SwaggerDoc() map[string]string { |
| 1693 | return map_PodStatusResult |
| 1694 | } |
| 1695 | |
| 1696 | var map_PodTemplate = map[string]string{ |
| 1697 | "": "PodTemplate describes a template for creating copies of a predefined pod.", |
| 1698 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 1699 | "template": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1700 | } |
| 1701 | |
| 1702 | func (PodTemplate) SwaggerDoc() map[string]string { |
| 1703 | return map_PodTemplate |
| 1704 | } |
| 1705 | |
| 1706 | var map_PodTemplateList = map[string]string{ |
| 1707 | "": "PodTemplateList is a list of PodTemplates.", |
| 1708 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 1709 | "items": "List of pod templates", |
| 1710 | } |
| 1711 | |
| 1712 | func (PodTemplateList) SwaggerDoc() map[string]string { |
| 1713 | return map_PodTemplateList |
| 1714 | } |
| 1715 | |
| 1716 | var map_PodTemplateSpec = map[string]string{ |
| 1717 | "": "PodTemplateSpec describes the data a pod should have when created from a template", |
| 1718 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 1719 | "spec": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1720 | } |
| 1721 | |
| 1722 | func (PodTemplateSpec) SwaggerDoc() map[string]string { |
| 1723 | return map_PodTemplateSpec |
| 1724 | } |
| 1725 | |
| 1726 | var map_PortworxVolumeSource = map[string]string{ |
| 1727 | "": "PortworxVolumeSource represents a Portworx volume resource.", |
| 1728 | "volumeID": "VolumeID uniquely identifies a Portworx volume", |
| 1729 | "fsType": "FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", |
| 1730 | "readOnly": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", |
| 1731 | } |
| 1732 | |
| 1733 | func (PortworxVolumeSource) SwaggerDoc() map[string]string { |
| 1734 | return map_PortworxVolumeSource |
| 1735 | } |
| 1736 | |
| 1737 | var map_Preconditions = map[string]string{ |
| 1738 | "": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", |
| 1739 | "uid": "Specifies the target UID.", |
| 1740 | } |
| 1741 | |
| 1742 | func (Preconditions) SwaggerDoc() map[string]string { |
| 1743 | return map_Preconditions |
| 1744 | } |
| 1745 | |
| 1746 | var map_PreferAvoidPodsEntry = map[string]string{ |
| 1747 | "": "Describes a class of pods that should avoid this node.", |
| 1748 | "podSignature": "The class of pods.", |
| 1749 | "evictionTime": "Time at which this entry was added to the list.", |
| 1750 | "reason": "(brief) reason why this entry was added to the list.", |
| 1751 | "message": "Human readable message indicating why this entry was added to the list.", |
| 1752 | } |
| 1753 | |
| 1754 | func (PreferAvoidPodsEntry) SwaggerDoc() map[string]string { |
| 1755 | return map_PreferAvoidPodsEntry |
| 1756 | } |
| 1757 | |
| 1758 | var map_PreferredSchedulingTerm = map[string]string{ |
| 1759 | "": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", |
| 1760 | "weight": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", |
| 1761 | "preference": "A node selector term, associated with the corresponding weight.", |
| 1762 | } |
| 1763 | |
| 1764 | func (PreferredSchedulingTerm) SwaggerDoc() map[string]string { |
| 1765 | return map_PreferredSchedulingTerm |
| 1766 | } |
| 1767 | |
| 1768 | var map_Probe = map[string]string{ |
| 1769 | "": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", |
| 1770 | "initialDelaySeconds": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", |
| 1771 | "timeoutSeconds": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", |
| 1772 | "periodSeconds": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", |
| 1773 | "successThreshold": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", |
| 1774 | "failureThreshold": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", |
| 1775 | } |
| 1776 | |
| 1777 | func (Probe) SwaggerDoc() map[string]string { |
| 1778 | return map_Probe |
| 1779 | } |
| 1780 | |
| 1781 | var map_ProjectedVolumeSource = map[string]string{ |
| 1782 | "": "Represents a projected volume source", |
| 1783 | "sources": "list of volume projections", |
| 1784 | "defaultMode": "Mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", |
| 1785 | } |
| 1786 | |
| 1787 | func (ProjectedVolumeSource) SwaggerDoc() map[string]string { |
| 1788 | return map_ProjectedVolumeSource |
| 1789 | } |
| 1790 | |
| 1791 | var map_QuobyteVolumeSource = map[string]string{ |
| 1792 | "": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", |
| 1793 | "registry": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", |
| 1794 | "volume": "Volume is a string that references an already created Quobyte volume by name.", |
| 1795 | "readOnly": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", |
| 1796 | "user": "User to map volume access to Defaults to serivceaccount user", |
| 1797 | "group": "Group to map volume access to Default is no group", |
| 1798 | "tenant": "Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin", |
| 1799 | } |
| 1800 | |
| 1801 | func (QuobyteVolumeSource) SwaggerDoc() map[string]string { |
| 1802 | return map_QuobyteVolumeSource |
| 1803 | } |
| 1804 | |
| 1805 | var map_RBDPersistentVolumeSource = map[string]string{ |
| 1806 | "": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", |
| 1807 | "monitors": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1808 | "image": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1809 | "fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", |
| 1810 | "pool": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1811 | "user": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1812 | "keyring": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1813 | "secretRef": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1814 | "readOnly": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1815 | } |
| 1816 | |
| 1817 | func (RBDPersistentVolumeSource) SwaggerDoc() map[string]string { |
| 1818 | return map_RBDPersistentVolumeSource |
| 1819 | } |
| 1820 | |
| 1821 | var map_RBDVolumeSource = map[string]string{ |
| 1822 | "": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", |
| 1823 | "monitors": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1824 | "image": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1825 | "fsType": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", |
| 1826 | "pool": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1827 | "user": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1828 | "keyring": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1829 | "secretRef": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1830 | "readOnly": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", |
| 1831 | } |
| 1832 | |
| 1833 | func (RBDVolumeSource) SwaggerDoc() map[string]string { |
| 1834 | return map_RBDVolumeSource |
| 1835 | } |
| 1836 | |
| 1837 | var map_RangeAllocation = map[string]string{ |
| 1838 | "": "RangeAllocation is not a public type.", |
| 1839 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 1840 | "range": "Range is string that identifies the range represented by 'data'.", |
| 1841 | "data": "Data is a bit array containing all allocated addresses in the previous segment.", |
| 1842 | } |
| 1843 | |
| 1844 | func (RangeAllocation) SwaggerDoc() map[string]string { |
| 1845 | return map_RangeAllocation |
| 1846 | } |
| 1847 | |
| 1848 | var map_ReplicationController = map[string]string{ |
| 1849 | "": "ReplicationController represents the configuration of a replication controller.", |
| 1850 | "metadata": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 1851 | "spec": "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1852 | "status": "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1853 | } |
| 1854 | |
| 1855 | func (ReplicationController) SwaggerDoc() map[string]string { |
| 1856 | return map_ReplicationController |
| 1857 | } |
| 1858 | |
| 1859 | var map_ReplicationControllerCondition = map[string]string{ |
| 1860 | "": "ReplicationControllerCondition describes the state of a replication controller at a certain point.", |
| 1861 | "type": "Type of replication controller condition.", |
| 1862 | "status": "Status of the condition, one of True, False, Unknown.", |
| 1863 | "lastTransitionTime": "The last time the condition transitioned from one status to another.", |
| 1864 | "reason": "The reason for the condition's last transition.", |
| 1865 | "message": "A human readable message indicating details about the transition.", |
| 1866 | } |
| 1867 | |
| 1868 | func (ReplicationControllerCondition) SwaggerDoc() map[string]string { |
| 1869 | return map_ReplicationControllerCondition |
| 1870 | } |
| 1871 | |
| 1872 | var map_ReplicationControllerList = map[string]string{ |
| 1873 | "": "ReplicationControllerList is a collection of replication controllers.", |
| 1874 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 1875 | "items": "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", |
| 1876 | } |
| 1877 | |
| 1878 | func (ReplicationControllerList) SwaggerDoc() map[string]string { |
| 1879 | return map_ReplicationControllerList |
| 1880 | } |
| 1881 | |
| 1882 | var map_ReplicationControllerSpec = map[string]string{ |
| 1883 | "": "ReplicationControllerSpec is the specification of a replication controller.", |
| 1884 | "replicas": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", |
| 1885 | "minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", |
| 1886 | "selector": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", |
| 1887 | "template": "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", |
| 1888 | } |
| 1889 | |
| 1890 | func (ReplicationControllerSpec) SwaggerDoc() map[string]string { |
| 1891 | return map_ReplicationControllerSpec |
| 1892 | } |
| 1893 | |
| 1894 | var map_ReplicationControllerStatus = map[string]string{ |
| 1895 | "": "ReplicationControllerStatus represents the current status of a replication controller.", |
| 1896 | "replicas": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", |
| 1897 | "fullyLabeledReplicas": "The number of pods that have labels matching the labels of the pod template of the replication controller.", |
| 1898 | "readyReplicas": "The number of ready replicas for this replication controller.", |
| 1899 | "availableReplicas": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", |
| 1900 | "observedGeneration": "ObservedGeneration reflects the generation of the most recently observed replication controller.", |
| 1901 | "conditions": "Represents the latest available observations of a replication controller's current state.", |
| 1902 | } |
| 1903 | |
| 1904 | func (ReplicationControllerStatus) SwaggerDoc() map[string]string { |
| 1905 | return map_ReplicationControllerStatus |
| 1906 | } |
| 1907 | |
| 1908 | var map_ResourceFieldSelector = map[string]string{ |
| 1909 | "": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", |
| 1910 | "containerName": "Container name: required for volumes, optional for env vars", |
| 1911 | "resource": "Required: resource to select", |
| 1912 | "divisor": "Specifies the output format of the exposed resources, defaults to \"1\"", |
| 1913 | } |
| 1914 | |
| 1915 | func (ResourceFieldSelector) SwaggerDoc() map[string]string { |
| 1916 | return map_ResourceFieldSelector |
| 1917 | } |
| 1918 | |
| 1919 | var map_ResourceQuota = map[string]string{ |
| 1920 | "": "ResourceQuota sets aggregate quota restrictions enforced per namespace", |
| 1921 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 1922 | "spec": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1923 | "status": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 1924 | } |
| 1925 | |
| 1926 | func (ResourceQuota) SwaggerDoc() map[string]string { |
| 1927 | return map_ResourceQuota |
| 1928 | } |
| 1929 | |
| 1930 | var map_ResourceQuotaList = map[string]string{ |
| 1931 | "": "ResourceQuotaList is a list of ResourceQuota items.", |
| 1932 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 1933 | "items": "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", |
| 1934 | } |
| 1935 | |
| 1936 | func (ResourceQuotaList) SwaggerDoc() map[string]string { |
| 1937 | return map_ResourceQuotaList |
| 1938 | } |
| 1939 | |
| 1940 | var map_ResourceQuotaSpec = map[string]string{ |
| 1941 | "": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", |
| 1942 | "hard": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", |
| 1943 | "scopes": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", |
| 1944 | "scopeSelector": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.", |
| 1945 | } |
| 1946 | |
| 1947 | func (ResourceQuotaSpec) SwaggerDoc() map[string]string { |
| 1948 | return map_ResourceQuotaSpec |
| 1949 | } |
| 1950 | |
| 1951 | var map_ResourceQuotaStatus = map[string]string{ |
| 1952 | "": "ResourceQuotaStatus defines the enforced hard limits and observed use.", |
| 1953 | "hard": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", |
| 1954 | "used": "Used is the current observed total usage of the resource in the namespace.", |
| 1955 | } |
| 1956 | |
| 1957 | func (ResourceQuotaStatus) SwaggerDoc() map[string]string { |
| 1958 | return map_ResourceQuotaStatus |
| 1959 | } |
| 1960 | |
| 1961 | var map_ResourceRequirements = map[string]string{ |
| 1962 | "": "ResourceRequirements describes the compute resource requirements.", |
| 1963 | "limits": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", |
| 1964 | "requests": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", |
| 1965 | } |
| 1966 | |
| 1967 | func (ResourceRequirements) SwaggerDoc() map[string]string { |
| 1968 | return map_ResourceRequirements |
| 1969 | } |
| 1970 | |
| 1971 | var map_SELinuxOptions = map[string]string{ |
| 1972 | "": "SELinuxOptions are the labels to be applied to the container", |
| 1973 | "user": "User is a SELinux user label that applies to the container.", |
| 1974 | "role": "Role is a SELinux role label that applies to the container.", |
| 1975 | "type": "Type is a SELinux type label that applies to the container.", |
| 1976 | "level": "Level is SELinux level label that applies to the container.", |
| 1977 | } |
| 1978 | |
| 1979 | func (SELinuxOptions) SwaggerDoc() map[string]string { |
| 1980 | return map_SELinuxOptions |
| 1981 | } |
| 1982 | |
| 1983 | var map_ScaleIOPersistentVolumeSource = map[string]string{ |
| 1984 | "": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume", |
| 1985 | "gateway": "The host address of the ScaleIO API Gateway.", |
| 1986 | "system": "The name of the storage system as configured in ScaleIO.", |
| 1987 | "secretRef": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", |
| 1988 | "sslEnabled": "Flag to enable/disable SSL communication with Gateway, default false", |
| 1989 | "protectionDomain": "The name of the ScaleIO Protection Domain for the configured storage.", |
| 1990 | "storagePool": "The ScaleIO Storage Pool associated with the protection domain.", |
| 1991 | "storageMode": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", |
| 1992 | "volumeName": "The name of a volume already created in the ScaleIO system that is associated with this volume source.", |
| 1993 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"", |
| 1994 | "readOnly": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", |
| 1995 | } |
| 1996 | |
| 1997 | func (ScaleIOPersistentVolumeSource) SwaggerDoc() map[string]string { |
| 1998 | return map_ScaleIOPersistentVolumeSource |
| 1999 | } |
| 2000 | |
| 2001 | var map_ScaleIOVolumeSource = map[string]string{ |
| 2002 | "": "ScaleIOVolumeSource represents a persistent ScaleIO volume", |
| 2003 | "gateway": "The host address of the ScaleIO API Gateway.", |
| 2004 | "system": "The name of the storage system as configured in ScaleIO.", |
| 2005 | "secretRef": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", |
| 2006 | "sslEnabled": "Flag to enable/disable SSL communication with Gateway, default false", |
| 2007 | "protectionDomain": "The name of the ScaleIO Protection Domain for the configured storage.", |
| 2008 | "storagePool": "The ScaleIO Storage Pool associated with the protection domain.", |
| 2009 | "storageMode": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", |
| 2010 | "volumeName": "The name of a volume already created in the ScaleIO system that is associated with this volume source.", |
| 2011 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".", |
| 2012 | "readOnly": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", |
| 2013 | } |
| 2014 | |
| 2015 | func (ScaleIOVolumeSource) SwaggerDoc() map[string]string { |
| 2016 | return map_ScaleIOVolumeSource |
| 2017 | } |
| 2018 | |
| 2019 | var map_ScopeSelector = map[string]string{ |
| 2020 | "": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.", |
| 2021 | "matchExpressions": "A list of scope selector requirements by scope of the resources.", |
| 2022 | } |
| 2023 | |
| 2024 | func (ScopeSelector) SwaggerDoc() map[string]string { |
| 2025 | return map_ScopeSelector |
| 2026 | } |
| 2027 | |
| 2028 | var map_ScopedResourceSelectorRequirement = map[string]string{ |
| 2029 | "": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.", |
| 2030 | "scopeName": "The name of the scope that the selector applies to.", |
| 2031 | "operator": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.", |
| 2032 | "values": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", |
| 2033 | } |
| 2034 | |
| 2035 | func (ScopedResourceSelectorRequirement) SwaggerDoc() map[string]string { |
| 2036 | return map_ScopedResourceSelectorRequirement |
| 2037 | } |
| 2038 | |
| 2039 | var map_SeccompProfile = map[string]string{ |
| 2040 | "": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", |
| 2041 | "type": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.", |
| 2042 | "localhostProfile": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\".", |
| 2043 | } |
| 2044 | |
| 2045 | func (SeccompProfile) SwaggerDoc() map[string]string { |
| 2046 | return map_SeccompProfile |
| 2047 | } |
| 2048 | |
| 2049 | var map_Secret = map[string]string{ |
| 2050 | "": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.", |
| 2051 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 2052 | "immutable": "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate.", |
| 2053 | "data": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", |
| 2054 | "stringData": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", |
| 2055 | "type": "Used to facilitate programmatic handling of secret data.", |
| 2056 | } |
| 2057 | |
| 2058 | func (Secret) SwaggerDoc() map[string]string { |
| 2059 | return map_Secret |
| 2060 | } |
| 2061 | |
| 2062 | var map_SecretEnvSource = map[string]string{ |
| 2063 | "": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", |
| 2064 | "optional": "Specify whether the Secret must be defined", |
| 2065 | } |
| 2066 | |
| 2067 | func (SecretEnvSource) SwaggerDoc() map[string]string { |
| 2068 | return map_SecretEnvSource |
| 2069 | } |
| 2070 | |
| 2071 | var map_SecretKeySelector = map[string]string{ |
| 2072 | "": "SecretKeySelector selects a key of a Secret.", |
| 2073 | "key": "The key of the secret to select from. Must be a valid secret key.", |
| 2074 | "optional": "Specify whether the Secret or its key must be defined", |
| 2075 | } |
| 2076 | |
| 2077 | func (SecretKeySelector) SwaggerDoc() map[string]string { |
| 2078 | return map_SecretKeySelector |
| 2079 | } |
| 2080 | |
| 2081 | var map_SecretList = map[string]string{ |
| 2082 | "": "SecretList is a list of Secret.", |
| 2083 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 2084 | "items": "Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret", |
| 2085 | } |
| 2086 | |
| 2087 | func (SecretList) SwaggerDoc() map[string]string { |
| 2088 | return map_SecretList |
| 2089 | } |
| 2090 | |
| 2091 | var map_SecretProjection = map[string]string{ |
| 2092 | "": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.", |
| 2093 | "items": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", |
| 2094 | "optional": "Specify whether the Secret or its key must be defined", |
| 2095 | } |
| 2096 | |
| 2097 | func (SecretProjection) SwaggerDoc() map[string]string { |
| 2098 | return map_SecretProjection |
| 2099 | } |
| 2100 | |
| 2101 | var map_SecretReference = map[string]string{ |
| 2102 | "": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", |
| 2103 | "name": "Name is unique within a namespace to reference a secret resource.", |
| 2104 | "namespace": "Namespace defines the space within which the secret name must be unique.", |
| 2105 | } |
| 2106 | |
| 2107 | func (SecretReference) SwaggerDoc() map[string]string { |
| 2108 | return map_SecretReference |
| 2109 | } |
| 2110 | |
| 2111 | var map_SecretVolumeSource = map[string]string{ |
| 2112 | "": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", |
| 2113 | "secretName": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", |
| 2114 | "items": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", |
| 2115 | "defaultMode": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", |
| 2116 | "optional": "Specify whether the Secret or its keys must be defined", |
| 2117 | } |
| 2118 | |
| 2119 | func (SecretVolumeSource) SwaggerDoc() map[string]string { |
| 2120 | return map_SecretVolumeSource |
| 2121 | } |
| 2122 | |
| 2123 | var map_SecurityContext = map[string]string{ |
| 2124 | "": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", |
| 2125 | "capabilities": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", |
| 2126 | "privileged": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", |
| 2127 | "seLinuxOptions": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", |
| 2128 | "windowsOptions": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", |
| 2129 | "runAsUser": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", |
| 2130 | "runAsGroup": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", |
| 2131 | "runAsNonRoot": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", |
| 2132 | "readOnlyRootFilesystem": "Whether this container has a read-only root filesystem. Default is false.", |
| 2133 | "allowPrivilegeEscalation": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", |
| 2134 | "procMount": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", |
| 2135 | "seccompProfile": "The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options.", |
| 2136 | } |
| 2137 | |
| 2138 | func (SecurityContext) SwaggerDoc() map[string]string { |
| 2139 | return map_SecurityContext |
| 2140 | } |
| 2141 | |
| 2142 | var map_SerializedReference = map[string]string{ |
| 2143 | "": "SerializedReference is a reference to serialized object.", |
| 2144 | "reference": "The reference to an object in the system.", |
| 2145 | } |
| 2146 | |
| 2147 | func (SerializedReference) SwaggerDoc() map[string]string { |
| 2148 | return map_SerializedReference |
| 2149 | } |
| 2150 | |
| 2151 | var map_Service = map[string]string{ |
| 2152 | "": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.", |
| 2153 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 2154 | "spec": "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 2155 | "status": "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", |
| 2156 | } |
| 2157 | |
| 2158 | func (Service) SwaggerDoc() map[string]string { |
| 2159 | return map_Service |
| 2160 | } |
| 2161 | |
| 2162 | var map_ServiceAccount = map[string]string{ |
| 2163 | "": "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets", |
| 2164 | "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", |
| 2165 | "secrets": "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret", |
| 2166 | "imagePullSecrets": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", |
| 2167 | "automountServiceAccountToken": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", |
| 2168 | } |
| 2169 | |
| 2170 | func (ServiceAccount) SwaggerDoc() map[string]string { |
| 2171 | return map_ServiceAccount |
| 2172 | } |
| 2173 | |
| 2174 | var map_ServiceAccountList = map[string]string{ |
| 2175 | "": "ServiceAccountList is a list of ServiceAccount objects", |
| 2176 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 2177 | "items": "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", |
| 2178 | } |
| 2179 | |
| 2180 | func (ServiceAccountList) SwaggerDoc() map[string]string { |
| 2181 | return map_ServiceAccountList |
| 2182 | } |
| 2183 | |
| 2184 | var map_ServiceAccountTokenProjection = map[string]string{ |
| 2185 | "": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", |
| 2186 | "audience": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", |
| 2187 | "expirationSeconds": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", |
| 2188 | "path": "Path is the path relative to the mount point of the file to project the token into.", |
| 2189 | } |
| 2190 | |
| 2191 | func (ServiceAccountTokenProjection) SwaggerDoc() map[string]string { |
| 2192 | return map_ServiceAccountTokenProjection |
| 2193 | } |
| 2194 | |
| 2195 | var map_ServiceList = map[string]string{ |
| 2196 | "": "ServiceList holds a list of services.", |
| 2197 | "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 2198 | "items": "List of services", |
| 2199 | } |
| 2200 | |
| 2201 | func (ServiceList) SwaggerDoc() map[string]string { |
| 2202 | return map_ServiceList |
| 2203 | } |
| 2204 | |
| 2205 | var map_ServicePort = map[string]string{ |
| 2206 | "": "ServicePort contains information on service's port.", |
| 2207 | "name": "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.", |
| 2208 | "protocol": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.", |
| 2209 | "appProtocol": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. This is a beta field that is guarded by the ServiceAppProtocol feature gate and enabled by default.", |
| 2210 | "port": "The port that will be exposed by this service.", |
| 2211 | "targetPort": "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service", |
| 2212 | "nodePort": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", |
| 2213 | } |
| 2214 | |
| 2215 | func (ServicePort) SwaggerDoc() map[string]string { |
| 2216 | return map_ServicePort |
| 2217 | } |
| 2218 | |
| 2219 | var map_ServiceProxyOptions = map[string]string{ |
| 2220 | "": "ServiceProxyOptions is the query options to a Service's proxy call.", |
| 2221 | "path": "Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.", |
| 2222 | } |
| 2223 | |
| 2224 | func (ServiceProxyOptions) SwaggerDoc() map[string]string { |
| 2225 | return map_ServiceProxyOptions |
| 2226 | } |
| 2227 | |
| 2228 | var map_ServiceSpec = map[string]string{ |
| 2229 | "": "ServiceSpec describes the attributes that a user creates on a service.", |
| 2230 | "ports": "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", |
| 2231 | "selector": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", |
| 2232 | "clusterIP": "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", |
| 2233 | "type": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types", |
| 2234 | "externalIPs": "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system.", |
| 2235 | "sessionAffinity": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", |
| 2236 | "loadBalancerIP": "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature.", |
| 2237 | "loadBalancerSourceRanges": "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/", |
| 2238 | "externalName": "externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName.", |
| 2239 | "externalTrafficPolicy": "externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading.", |
| 2240 | "healthCheckNodePort": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", |
| 2241 | "publishNotReadyAddresses": "publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered \"ready\" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.", |
| 2242 | "sessionAffinityConfig": "sessionAffinityConfig contains the configurations of session affinity.", |
| 2243 | "ipFamily": "ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs. IPv6) when the IPv6DualStack feature gate is enabled. In a dual-stack cluster, you can specify ipFamily when creating a ClusterIP Service to determine whether the controller will allocate an IPv4 or IPv6 IP for it, and you can specify ipFamily when creating a headless Service to determine whether it will have IPv4 or IPv6 Endpoints. In either case, if you do not specify an ipFamily explicitly, it will default to the cluster's primary IP family. This field is part of an alpha feature, and you should not make any assumptions about its semantics other than those described above. In particular, you should not assume that it can (or cannot) be changed after creation time; that it can only have the values \"IPv4\" and \"IPv6\"; or that its current value on a given Service correctly reflects the current state of that Service. (For ClusterIP Services, look at clusterIP to see if the Service is IPv4 or IPv6. For headless Services, look at the endpoints, which may be dual-stack in the future. For ExternalName Services, ipFamily has no meaning, but it may be set to an irrelevant value anyway.)", |
| 2244 | "topologyKeys": "topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied.", |
| 2245 | } |
| 2246 | |
| 2247 | func (ServiceSpec) SwaggerDoc() map[string]string { |
| 2248 | return map_ServiceSpec |
| 2249 | } |
| 2250 | |
| 2251 | var map_ServiceStatus = map[string]string{ |
| 2252 | "": "ServiceStatus represents the current status of a service.", |
| 2253 | "loadBalancer": "LoadBalancer contains the current status of the load-balancer, if one is present.", |
| 2254 | } |
| 2255 | |
| 2256 | func (ServiceStatus) SwaggerDoc() map[string]string { |
| 2257 | return map_ServiceStatus |
| 2258 | } |
| 2259 | |
| 2260 | var map_SessionAffinityConfig = map[string]string{ |
| 2261 | "": "SessionAffinityConfig represents the configurations of session affinity.", |
| 2262 | "clientIP": "clientIP contains the configurations of Client IP based session affinity.", |
| 2263 | } |
| 2264 | |
| 2265 | func (SessionAffinityConfig) SwaggerDoc() map[string]string { |
| 2266 | return map_SessionAffinityConfig |
| 2267 | } |
| 2268 | |
| 2269 | var map_StorageOSPersistentVolumeSource = map[string]string{ |
| 2270 | "": "Represents a StorageOS persistent volume resource.", |
| 2271 | "volumeName": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", |
| 2272 | "volumeNamespace": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", |
| 2273 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", |
| 2274 | "readOnly": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", |
| 2275 | "secretRef": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", |
| 2276 | } |
| 2277 | |
| 2278 | func (StorageOSPersistentVolumeSource) SwaggerDoc() map[string]string { |
| 2279 | return map_StorageOSPersistentVolumeSource |
| 2280 | } |
| 2281 | |
| 2282 | var map_StorageOSVolumeSource = map[string]string{ |
| 2283 | "": "Represents a StorageOS persistent volume resource.", |
| 2284 | "volumeName": "VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", |
| 2285 | "volumeNamespace": "VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", |
| 2286 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", |
| 2287 | "readOnly": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", |
| 2288 | "secretRef": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", |
| 2289 | } |
| 2290 | |
| 2291 | func (StorageOSVolumeSource) SwaggerDoc() map[string]string { |
| 2292 | return map_StorageOSVolumeSource |
| 2293 | } |
| 2294 | |
| 2295 | var map_Sysctl = map[string]string{ |
| 2296 | "": "Sysctl defines a kernel parameter to be set", |
| 2297 | "name": "Name of a property to set", |
| 2298 | "value": "Value of a property to set", |
| 2299 | } |
| 2300 | |
| 2301 | func (Sysctl) SwaggerDoc() map[string]string { |
| 2302 | return map_Sysctl |
| 2303 | } |
| 2304 | |
| 2305 | var map_TCPSocketAction = map[string]string{ |
| 2306 | "": "TCPSocketAction describes an action based on opening a socket", |
| 2307 | "port": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", |
| 2308 | "host": "Optional: Host name to connect to, defaults to the pod IP.", |
| 2309 | } |
| 2310 | |
| 2311 | func (TCPSocketAction) SwaggerDoc() map[string]string { |
| 2312 | return map_TCPSocketAction |
| 2313 | } |
| 2314 | |
| 2315 | var map_Taint = map[string]string{ |
| 2316 | "": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.", |
| 2317 | "key": "Required. The taint key to be applied to a node.", |
| 2318 | "value": "The taint value corresponding to the taint key.", |
| 2319 | "effect": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.", |
| 2320 | "timeAdded": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.", |
| 2321 | } |
| 2322 | |
| 2323 | func (Taint) SwaggerDoc() map[string]string { |
| 2324 | return map_Taint |
| 2325 | } |
| 2326 | |
| 2327 | var map_Toleration = map[string]string{ |
| 2328 | "": "The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.", |
| 2329 | "key": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.", |
| 2330 | "operator": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.", |
| 2331 | "value": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", |
| 2332 | "effect": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", |
| 2333 | "tolerationSeconds": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", |
| 2334 | } |
| 2335 | |
| 2336 | func (Toleration) SwaggerDoc() map[string]string { |
| 2337 | return map_Toleration |
| 2338 | } |
| 2339 | |
| 2340 | var map_TopologySelectorLabelRequirement = map[string]string{ |
| 2341 | "": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", |
| 2342 | "key": "The label key that the selector applies to.", |
| 2343 | "values": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", |
| 2344 | } |
| 2345 | |
| 2346 | func (TopologySelectorLabelRequirement) SwaggerDoc() map[string]string { |
| 2347 | return map_TopologySelectorLabelRequirement |
| 2348 | } |
| 2349 | |
| 2350 | var map_TopologySelectorTerm = map[string]string{ |
| 2351 | "": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", |
| 2352 | "matchLabelExpressions": "A list of topology selector requirements by labels.", |
| 2353 | } |
| 2354 | |
| 2355 | func (TopologySelectorTerm) SwaggerDoc() map[string]string { |
| 2356 | return map_TopologySelectorTerm |
| 2357 | } |
| 2358 | |
| 2359 | var map_TopologySpreadConstraint = map[string]string{ |
| 2360 | "": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", |
| 2361 | "maxSkew": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: ", |
| 2362 | "topologyKey": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field.", |
| 2363 | "whenUnsatisfiable": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assigment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: ", |
| 2364 | "labelSelector": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.", |
| 2365 | } |
| 2366 | |
| 2367 | func (TopologySpreadConstraint) SwaggerDoc() map[string]string { |
| 2368 | return map_TopologySpreadConstraint |
| 2369 | } |
| 2370 | |
| 2371 | var map_TypedLocalObjectReference = map[string]string{ |
| 2372 | "": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", |
| 2373 | "apiGroup": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", |
| 2374 | "kind": "Kind is the type of resource being referenced", |
| 2375 | "name": "Name is the name of resource being referenced", |
| 2376 | } |
| 2377 | |
| 2378 | func (TypedLocalObjectReference) SwaggerDoc() map[string]string { |
| 2379 | return map_TypedLocalObjectReference |
| 2380 | } |
| 2381 | |
| 2382 | var map_Volume = map[string]string{ |
| 2383 | "": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", |
| 2384 | "name": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", |
| 2385 | } |
| 2386 | |
| 2387 | func (Volume) SwaggerDoc() map[string]string { |
| 2388 | return map_Volume |
| 2389 | } |
| 2390 | |
| 2391 | var map_VolumeDevice = map[string]string{ |
| 2392 | "": "volumeDevice describes a mapping of a raw block device within a container.", |
| 2393 | "name": "name must match the name of a persistentVolumeClaim in the pod", |
| 2394 | "devicePath": "devicePath is the path inside of the container that the device will be mapped to.", |
| 2395 | } |
| 2396 | |
| 2397 | func (VolumeDevice) SwaggerDoc() map[string]string { |
| 2398 | return map_VolumeDevice |
| 2399 | } |
| 2400 | |
| 2401 | var map_VolumeMount = map[string]string{ |
| 2402 | "": "VolumeMount describes a mounting of a Volume within a container.", |
| 2403 | "name": "This must match the Name of a Volume.", |
| 2404 | "readOnly": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", |
| 2405 | "mountPath": "Path within the container at which the volume should be mounted. Must not contain ':'.", |
| 2406 | "subPath": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", |
| 2407 | "mountPropagation": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.", |
| 2408 | "subPathExpr": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", |
| 2409 | } |
| 2410 | |
| 2411 | func (VolumeMount) SwaggerDoc() map[string]string { |
| 2412 | return map_VolumeMount |
| 2413 | } |
| 2414 | |
| 2415 | var map_VolumeNodeAffinity = map[string]string{ |
| 2416 | "": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", |
| 2417 | "required": "Required specifies hard node constraints that must be met.", |
| 2418 | } |
| 2419 | |
| 2420 | func (VolumeNodeAffinity) SwaggerDoc() map[string]string { |
| 2421 | return map_VolumeNodeAffinity |
| 2422 | } |
| 2423 | |
| 2424 | var map_VolumeProjection = map[string]string{ |
| 2425 | "": "Projection that may be projected along with other supported volume types", |
| 2426 | "secret": "information about the secret data to project", |
| 2427 | "downwardAPI": "information about the downwardAPI data to project", |
| 2428 | "configMap": "information about the configMap data to project", |
| 2429 | "serviceAccountToken": "information about the serviceAccountToken data to project", |
| 2430 | } |
| 2431 | |
| 2432 | func (VolumeProjection) SwaggerDoc() map[string]string { |
| 2433 | return map_VolumeProjection |
| 2434 | } |
| 2435 | |
| 2436 | var map_VolumeSource = map[string]string{ |
| 2437 | "": "Represents the source of a volume to mount. Only one of its members may be specified.", |
| 2438 | "hostPath": "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", |
| 2439 | "emptyDir": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", |
| 2440 | "gcePersistentDisk": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", |
| 2441 | "awsElasticBlockStore": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", |
| 2442 | "gitRepo": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", |
| 2443 | "secret": "Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", |
| 2444 | "nfs": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", |
| 2445 | "iscsi": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md", |
| 2446 | "glusterfs": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md", |
| 2447 | "persistentVolumeClaim": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", |
| 2448 | "rbd": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md", |
| 2449 | "flexVolume": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", |
| 2450 | "cinder": "Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", |
| 2451 | "cephfs": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", |
| 2452 | "flocker": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running", |
| 2453 | "downwardAPI": "DownwardAPI represents downward API about the pod that should populate this volume", |
| 2454 | "fc": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", |
| 2455 | "azureFile": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", |
| 2456 | "configMap": "ConfigMap represents a configMap that should populate this volume", |
| 2457 | "vsphereVolume": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", |
| 2458 | "quobyte": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", |
| 2459 | "azureDisk": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", |
| 2460 | "photonPersistentDisk": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", |
| 2461 | "projected": "Items for all in one resources secrets, configmaps, and downward API", |
| 2462 | "portworxVolume": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine", |
| 2463 | "scaleIO": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", |
| 2464 | "storageos": "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.", |
| 2465 | "csi": "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).", |
| 2466 | "ephemeral": "Ephemeral represents a volume that is handled by a cluster storage driver (Alpha feature). The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.\n\nUse this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.\n\nA pod can use both types of ephemeral volumes and persistent volumes at the same time.", |
| 2467 | } |
| 2468 | |
| 2469 | func (VolumeSource) SwaggerDoc() map[string]string { |
| 2470 | return map_VolumeSource |
| 2471 | } |
| 2472 | |
| 2473 | var map_VsphereVirtualDiskVolumeSource = map[string]string{ |
| 2474 | "": "Represents a vSphere volume resource.", |
| 2475 | "volumePath": "Path that identifies vSphere volume vmdk", |
| 2476 | "fsType": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", |
| 2477 | "storagePolicyName": "Storage Policy Based Management (SPBM) profile name.", |
| 2478 | "storagePolicyID": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", |
| 2479 | } |
| 2480 | |
| 2481 | func (VsphereVirtualDiskVolumeSource) SwaggerDoc() map[string]string { |
| 2482 | return map_VsphereVirtualDiskVolumeSource |
| 2483 | } |
| 2484 | |
| 2485 | var map_WeightedPodAffinityTerm = map[string]string{ |
| 2486 | "": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", |
| 2487 | "weight": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", |
| 2488 | "podAffinityTerm": "Required. A pod affinity term, associated with the corresponding weight.", |
| 2489 | } |
| 2490 | |
| 2491 | func (WeightedPodAffinityTerm) SwaggerDoc() map[string]string { |
| 2492 | return map_WeightedPodAffinityTerm |
| 2493 | } |
| 2494 | |
| 2495 | var map_WindowsSecurityContextOptions = map[string]string{ |
| 2496 | "": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", |
| 2497 | "gmsaCredentialSpecName": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", |
| 2498 | "gmsaCredentialSpec": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", |
| 2499 | "runAsUserName": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", |
| 2500 | } |
| 2501 | |
| 2502 | func (WindowsSecurityContextOptions) SwaggerDoc() map[string]string { |
| 2503 | return map_WindowsSecurityContextOptions |
| 2504 | } |
| 2505 | |
| 2506 | // AUTO-GENERATED FUNCTIONS END HERE |