{"modulePath":"github.com/unitytech/client-go","version":"v4.0.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\nPackage api contains the latest (or \"internal\") version of the Kubernetes API objects. This is the API objects as represented in memory. The contract presented to clients is located in the versioned packages, which are sub-directories. The first one is \"v1\". Those packages describe how a particular version is serialized to storage/network.\n\n## Constants\n\n```go\nconst (\n\t// ImagePolicyFailedOpenKey is added to pods created by failing open when the image policy\n\t// webhook backend fails.\n\tImagePolicyFailedOpenKey string = \"alpha.image-policy.k8s.io/failed-open\"\n\n\t// PodPresetOptOutAnnotationKey represents the annotation key for a pod to exempt itself from pod preset manipulation\n\tPodPresetOptOutAnnotationKey string = \"podpreset.admission.kubernetes.io/exclude\"\n\n\t// MirrorAnnotationKey represents the annotation key set by kubelets when creating mirror pods\n\tMirrorPodAnnotationKey string = \"kubernetes.io/config.mirror\"\n\n\t// TolerationsAnnotationKey represents the key of tolerations data (json serialized)\n\t// in the Annotations of a Pod.\n\tTolerationsAnnotationKey string = \"scheduler.alpha.kubernetes.io/tolerations\"\n\n\t// TaintsAnnotationKey represents the key of taints data (json serialized)\n\t// in the Annotations of a Node.\n\tTaintsAnnotationKey string = \"scheduler.alpha.kubernetes.io/taints\"\n\n\t// SeccompPodAnnotationKey represents the key of a seccomp profile applied\n\t// to all containers of a pod.\n\tSeccompPodAnnotationKey string = \"seccomp.security.alpha.kubernetes.io/pod\"\n\n\t// SeccompContainerAnnotationKeyPrefix represents the key of a seccomp profile applied\n\t// to one container of a pod.\n\tSeccompContainerAnnotationKeyPrefix string = \"container.seccomp.security.alpha.kubernetes.io/\"\n\n\t// CreatedByAnnotation represents the key used to store the spec(json)\n\t// used to create the resource.\n\tCreatedByAnnotation = \"kubernetes.io/created-by\"\n\n\t// PreferAvoidPodsAnnotationKey represents the key of preferAvoidPods data (json serialized)\n\t// in the Annotations of a Node.\n\tPreferAvoidPodsAnnotationKey string = \"scheduler.alpha.kubernetes.io/preferAvoidPods\"\n\n\t// SysctlsPodAnnotationKey represents the key of sysctls which are set for the infrastructure\n\t// container of a pod. The annotation value is a comma separated list of sysctl_name=value\n\t// key-value pairs. Only a limited set of whitelisted and isolated sysctls is supported by\n\t// the kubelet. Pods with other sysctls will fail to launch.\n\tSysctlsPodAnnotationKey string = \"security.alpha.kubernetes.io/sysctls\"\n\n\t// UnsafeSysctlsPodAnnotationKey represents the key of sysctls which are set for the infrastructure\n\t// container of a pod. The annotation value is a comma separated list of sysctl_name=value\n\t// key-value pairs. Unsafe sysctls must be explicitly enabled for a kubelet. They are properly\n\t// namespaced to a pod or a container, but their isolation is usually unclear or weak. Their use\n\t// is at-your-own-risk. Pods that attempt to set an unsafe sysctl that is not enabled for a kubelet\n\t// will fail to launch.\n\tUnsafeSysctlsPodAnnotationKey string = \"security.alpha.kubernetes.io/unsafe-sysctls\"\n\n\t// ObjectTTLAnnotations represents a suggestion for kubelet for how long it can cache\n\t// an object (e.g. secret, config map) before fetching it again from apiserver.\n\t// This annotation can be attached to node.\n\tObjectTTLAnnotationKey string = \"node.alpha.kubernetes.io/ttl\"\n\n\t// AffinityAnnotationKey represents the key of affinity data (json serialized)\n\t// in the Annotations of a Pod.\n\t// TODO: remove when alpha support for affinity is removed\n\tAffinityAnnotationKey string = \"scheduler.alpha.kubernetes.io/affinity\"\n\n\t// annotation key prefix used to identify non-convertible json paths.\n\tNonConvertibleAnnotationPrefix = \"non-convertible.kubernetes.io\"\n\n\t// LastAppliedConfigAnnotation is the annotation used to store the previous\n\t// configuration of a resource for use in a three way diff by UpdateApplyAnnotation.\n\tLastAppliedConfigAnnotation = kubectlPrefix + \"last-applied-configuration\"\n\n\t// AnnotationLoadBalancerSourceRangesKey is the key of the annotation on a service to set allowed ingress ranges on their LoadBalancers\n\t//\n\t// It should be a comma-separated list of CIDRs, e.g. `0.0.0.0/0` to\n\t// allow full access (the default) or `18.0.0.0/8,56.0.0.0/8` to allow\n\t// access only from the CIDRs currently allocated to MIT \u0026 the USPS.\n\t//\n\t// Not all cloud providers support this annotation, though AWS \u0026 GCE do.\n\tAnnotationLoadBalancerSourceRangesKey = \"service.beta.kubernetes.io/load-balancer-source-ranges\"\n\n\t// AnnotationValueExternalTrafficLocal Value of annotation to specify local endpoints behavior.\n\tAnnotationValueExternalTrafficLocal = \"OnlyLocal\"\n\t// AnnotationValueExternalTrafficGlobal Value of annotation to specify global (legacy) behavior.\n\tAnnotationValueExternalTrafficGlobal = \"Global\"\n\n\t// BetaAnnotationHealthCheckNodePort Annotation specifying the healthcheck nodePort for the service.\n\t// If not specified, annotation is created by the service api backend with the allocated nodePort.\n\t// Will use user-specified nodePort value if specified by the client.\n\tBetaAnnotationHealthCheckNodePort = \"service.beta.kubernetes.io/healthcheck-nodeport\"\n\n\t// BetaAnnotationExternalTraffic An annotation that denotes if this Service desires to route\n\t// external traffic to local endpoints only. This preserves Source IP and avoids a second hop.\n\tBetaAnnotationExternalTraffic = \"service.beta.kubernetes.io/external-traffic\"\n)\n```\n\n```go\nconst (\n\tNodeUnschedulableField = \"spec.unschedulable\"\n\tObjectNameField        = \"metadata.name\"\n\tPodHostField           = \"spec.nodeName\"\n\tPodStatusField         = \"status.phase\"\n\tSecretTypeField        = \"type\"\n\n\tEventReasonField                  = \"reason\"\n\tEventSourceField                  = \"source\"\n\tEventTypeField                    = \"type\"\n\tEventInvolvedKindField            = \"involvedObject.kind\"\n\tEventInvolvedNamespaceField       = \"involvedObject.namespace\"\n\tEventInvolvedNameField            = \"involvedObject.name\"\n\tEventInvolvedUIDField             = \"involvedObject.uid\"\n\tEventInvolvedAPIVersionField      = \"involvedObject.apiVersion\"\n\tEventInvolvedResourceVersionField = \"involvedObject.resourceVersion\"\n\tEventInvolvedFieldPathField       = \"involvedObject.fieldPath\"\n)\n```\nField path constants that are specific to the internal API representation.\n\n```go\nconst (\n\t// NamespaceDefault means the object is in the default namespace which is applied when not specified by clients\n\tNamespaceDefault string = \"default\"\n\t// NamespaceAll is the default argument to specify on a context when you want to list or filter resources across all namespaces\n\tNamespaceAll string = \"\"\n\t// NamespaceNone is the argument for a context when there is no namespace.\n\tNamespaceNone string = \"\"\n\t// NamespaceSystem is the system namespace where we place system components.\n\tNamespaceSystem string = \"kube-system\"\n\t// NamespacePublic is the namespace where we place public info (ConfigMaps)\n\tNamespacePublic string = \"kube-public\"\n\t// TerminationMessagePathDefault means the default path to capture the application termination message running in a container\n\tTerminationMessagePathDefault string = \"/dev/termination-log\"\n)\n```\n\n```go\nconst (\n\t// BetaStorageClassAnnotation represents the beta/previous StorageClass annotation.\n\t// It's currently still used and will be held for backwards compatibility\n\tBetaStorageClassAnnotation = \"volume.beta.kubernetes.io/storage-class\"\n\n\t// MountOptionAnnotation defines mount option annotation used in PVs\n\tMountOptionAnnotation = \"volume.beta.kubernetes.io/mount-options\"\n\n\t// AlphaStorageNodeAffinityAnnotation defines node affinity policies for a PersistentVolume.\n\t// Value is a string of the json representation of type NodeAffinity\n\tAlphaStorageNodeAffinityAnnotation = \"volume.alpha.kubernetes.io/node-affinity\"\n)\n```\n\n```go\nconst (\n\tAzureDataDiskCachingNone      AzureDataDiskCachingMode = \"None\"\n\tAzureDataDiskCachingReadOnly  AzureDataDiskCachingMode = \"ReadOnly\"\n\tAzureDataDiskCachingReadWrite AzureDataDiskCachingMode = \"ReadWrite\"\n\n\tAzureSharedBlobDisk    AzureDataDiskKind = \"Shared\"\n\tAzureDedicatedBlobDisk AzureDataDiskKind = \"Dedicated\"\n\tAzureManagedDisk       AzureDataDiskKind = \"Managed\"\n)\n```\n\n```go\nconst (\n\t// Information only and will not cause any problems\n\tEventTypeNormal string = \"Normal\"\n\t// These events are to warn that something might go wrong\n\tEventTypeWarning string = \"Warning\"\n)\n```\nValid values for event types (new types could be added in future)\n\n```go\nconst (\n\t// SecretTypeOpaque is the default; arbitrary user-defined data\n\tSecretTypeOpaque SecretType = \"Opaque\"\n\n\t// SecretTypeServiceAccountToken contains a token that identifies a service account to the API\n\t//\n\t// Required fields:\n\t// - Secret.Annotations[\"kubernetes.io/service-account.name\"] - the name of the ServiceAccount the token identifies\n\t// - Secret.Annotations[\"kubernetes.io/service-account.uid\"] - the UID of the ServiceAccount the token identifies\n\t// - Secret.Data[\"token\"] - a token that identifies the service account to the API\n\tSecretTypeServiceAccountToken SecretType = \"kubernetes.io/service-account-token\"\n\n\t// ServiceAccountNameKey is the key of the required annotation for SecretTypeServiceAccountToken secrets\n\tServiceAccountNameKey = \"kubernetes.io/service-account.name\"\n\t// ServiceAccountUIDKey is the key of the required annotation for SecretTypeServiceAccountToken secrets\n\tServiceAccountUIDKey = \"kubernetes.io/service-account.uid\"\n\t// ServiceAccountTokenKey is the key of the required data for SecretTypeServiceAccountToken secrets\n\tServiceAccountTokenKey = \"token\"\n\t// ServiceAccountKubeconfigKey is the key of the optional kubeconfig data for SecretTypeServiceAccountToken secrets\n\tServiceAccountKubeconfigKey = \"kubernetes.kubeconfig\"\n\t// ServiceAccountRootCAKey is the key of the optional root certificate authority for SecretTypeServiceAccountToken secrets\n\tServiceAccountRootCAKey = \"ca.crt\"\n\t// ServiceAccountNamespaceKey is the key of the optional namespace to use as the default for namespaced API calls\n\tServiceAccountNamespaceKey = \"namespace\"\n\n\t// SecretTypeDockercfg contains a dockercfg file that follows the same format rules as ~/.dockercfg\n\t//\n\t// Required fields:\n\t// - Secret.Data[\".dockercfg\"] - a serialized ~/.dockercfg file\n\tSecretTypeDockercfg SecretType = \"kubernetes.io/dockercfg\"\n\n\t// DockerConfigKey is the key of the required data for SecretTypeDockercfg secrets\n\tDockerConfigKey = \".dockercfg\"\n\n\t// SecretTypeDockerConfigJson contains a dockercfg file that follows the same format rules as ~/.docker/config.json\n\t//\n\t// Required fields:\n\t// - Secret.Data[\".dockerconfigjson\"] - a serialized ~/.docker/config.json file\n\tSecretTypeDockerConfigJson SecretType = \"kubernetes.io/dockerconfigjson\"\n\n\t// DockerConfigJsonKey is the key of the required data for SecretTypeDockerConfigJson secrets\n\tDockerConfigJsonKey = \".dockerconfigjson\"\n\n\t// SecretTypeBasicAuth contains data needed for basic authentication.\n\t//\n\t// Required at least one of fields:\n\t// - Secret.Data[\"username\"] - username used for authentication\n\t// - Secret.Data[\"password\"] - password or token needed for authentication\n\tSecretTypeBasicAuth SecretType = \"kubernetes.io/basic-auth\"\n\n\t// BasicAuthUsernameKey is the key of the username for SecretTypeBasicAuth secrets\n\tBasicAuthUsernameKey = \"username\"\n\t// BasicAuthPasswordKey is the key of the password or token for SecretTypeBasicAuth secrets\n\tBasicAuthPasswordKey = \"password\"\n\n\t// SecretTypeSSHAuth contains data needed for SSH authetication.\n\t//\n\t// Required field:\n\t// - Secret.Data[\"ssh-privatekey\"] - private SSH key needed for authentication\n\tSecretTypeSSHAuth SecretType = \"kubernetes.io/ssh-auth\"\n\n\t// SSHAuthPrivateKey is the key of the required SSH private key for SecretTypeSSHAuth secrets\n\tSSHAuthPrivateKey = \"ssh-privatekey\"\n\n\t// SecretTypeTLS contains information about a TLS client or server secret. It\n\t// is primarily used with TLS termination of the Ingress resource, but may be\n\t// used in other types.\n\t//\n\t// Required fields:\n\t// - Secret.Data[\"tls.key\"] - TLS private key.\n\t//   Secret.Data[\"tls.crt\"] - TLS certificate.\n\t// TODO: Consider supporting different formats, specifying CA/destinationCA.\n\tSecretTypeTLS SecretType = \"kubernetes.io/tls\"\n\n\t// TLSCertKey is the key for tls certificates in a TLS secret.\n\tTLSCertKey = \"tls.crt\"\n\t// TLSPrivateKeyKey is the key for the private key field in a TLS secret.\n\tTLSPrivateKeyKey = \"tls.key\"\n)\n```\n\n```go\nconst (\n\t// Enable stdin for remote command execution\n\tExecStdinParam = \"input\"\n\t// Enable stdout for remote command execution\n\tExecStdoutParam = \"output\"\n\t// Enable stderr for remote command execution\n\tExecStderrParam = \"error\"\n\t// Enable TTY for remote command execution\n\tExecTTYParam = \"tty\"\n\t// Command to run for remote command execution\n\tExecCommandParamm = \"command\"\n\n\t// Name of header that specifies stream type\n\tStreamType = \"streamType\"\n\t// Value for streamType header for stdin stream\n\tStreamTypeStdin = \"stdin\"\n\t// Value for streamType header for stdout stream\n\tStreamTypeStdout = \"stdout\"\n\t// Value for streamType header for stderr stream\n\tStreamTypeStderr = \"stderr\"\n\t// Value for streamType header for data stream\n\tStreamTypeData = \"data\"\n\t// Value for streamType header for error stream\n\tStreamTypeError = \"error\"\n\t// Value for streamType header for terminal resize stream\n\tStreamTypeResize = \"resize\"\n\n\t// Name of header that specifies the port being forwarded\n\tPortHeader = \"port\"\n\t// Name of header that specifies a request ID used to associate the error\n\t// and data streams for a single forwarded connection\n\tPortForwardRequestIDHeader = \"requestID\"\n)\n```\nThese constants are for remote command execution and port forwarding and are used by both the client side and server side components.\n\nThis is probably not the ideal place for them, but it didn't seem worth it to create pkg/exec and pkg/portforward just to contain a single file with constants in it.  Suggestions for more appropriate alternatives are definitely welcome!\n\n```go\nconst (\n\t// \"default-scheduler\" is the name of default scheduler.\n\tDefaultSchedulerName = \"default-scheduler\"\n\n\t// RequiredDuringScheduling affinity is not symmetric, but there is an implicit PreferredDuringScheduling affinity rule\n\t// corresponding to every RequiredDuringScheduling affinity rule.\n\t// When the --hard-pod-affinity-weight scheduler flag is not specified,\n\t// DefaultHardPodAffinityWeight defines the weight of the implicit PreferredDuringScheduling affinity rule.\n\tDefaultHardPodAffinitySymmetricWeight int = 1\n)\n```\n\n```go\nconst (\n\t// ClusterIPNone - do not assign a cluster IP\n\t// no proxying required and no environment variables should be created for pods\n\tClusterIPNone = \"None\"\n)\n```\n\n```go\nconst GroupName = \"\"\n```\nGroupName is the group name use in this package\n\n```go\nconst MaxSecretSize = 1 * 1024 * 1024\n```\n\n```go\nconst (\n\t// Namespace prefix for opaque counted resources (alpha).\n\tResourceOpaqueIntPrefix = \"pod.alpha.kubernetes.io/opaque-int-resource-\"\n)\n```\n\n## Variables\n\n```go\nvar (\n\tSchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)\n\tAddToScheme   = SchemeBuilder.AddToScheme\n)\n```\n\n```go\nvar Codecs = serializer.NewCodecFactory(Scheme)\n```\nCodecs provides access to encoding and decoding for the scheme\n\n```go\nvar GroupFactoryRegistry = make(announced.APIGroupFactoryRegistry)\n```\nGroupFactoryRegistry is the APIGroupFactoryRegistry (overlaps a bit with Registry, see comments in package for details)\n\n```go\nvar ParameterCodec = runtime.NewParameterCodec(Scheme)\n```\nParameterCodec handles versioning of objects that are converted to query parameters.\n\n```go\nvar Registry = registered.NewOrDie(os.Getenv(\"KUBE_API_VERSIONS\"))\n```\nRegistry is an instance of an API registry.  This is an interim step to start removing the idea of a global API registry.\n\n```go\nvar Scheme = runtime.NewScheme()\n```\nScheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered. NOTE: If you are copying this file to start a new api group, STOP! Copy the extensions group instead. This Scheme is special and should appear ONLY in the api group, unless you really know what you're doing. TODO(lavalamp): make the above error impossible.\n\n```go\nvar SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}\n```\nSchemeGroupVersion is group version used to register these objects\n\n## Functions\n\n```go\nfunc DeepCopy_api_AWSElasticBlockStoreVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_AWSElasticBlockStoreVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Affinity(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Affinity is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_AttachedVolume(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_AttachedVolume is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_AvoidPods(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_AvoidPods is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_AzureDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_AzureDiskVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_AzureFileVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_AzureFileVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Binding(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Binding is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Capabilities(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Capabilities is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_CephFSVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_CephFSVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_CinderVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_CinderVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ComponentCondition(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ComponentCondition is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ComponentStatus(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ComponentStatus is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ComponentStatusList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ComponentStatusList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ConfigMap(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ConfigMap is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ConfigMapEnvSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ConfigMapEnvSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ConfigMapKeySelector(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ConfigMapKeySelector is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ConfigMapList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ConfigMapList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ConfigMapProjection(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ConfigMapProjection is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ConfigMapVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ConfigMapVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Container(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Container is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ContainerImage(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ContainerImage is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ContainerPort(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ContainerPort is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ContainerState(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ContainerState is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ContainerStateRunning(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ContainerStateRunning is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ContainerStateTerminated(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ContainerStateTerminated is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ContainerStateWaiting(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ContainerStateWaiting is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ContainerStatus(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ContainerStatus is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_DaemonEndpoint(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_DaemonEndpoint is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_DeleteOptions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_DeleteOptions is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_DownwardAPIProjection(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_DownwardAPIProjection is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_DownwardAPIVolumeFile(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_DownwardAPIVolumeFile is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_DownwardAPIVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_DownwardAPIVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_EmptyDirVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_EmptyDirVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_EndpointAddress(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_EndpointAddress is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_EndpointPort(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_EndpointPort is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_EndpointSubset(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_EndpointSubset is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Endpoints(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Endpoints is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_EndpointsList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_EndpointsList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_EnvFromSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_EnvFromSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_EnvVar(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_EnvVar is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_EnvVarSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_EnvVarSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Event(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Event is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_EventList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_EventList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_EventSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_EventSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ExecAction(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ExecAction is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_FCVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_FCVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_FlexVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_FlexVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_FlockerVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_FlockerVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_GCEPersistentDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_GCEPersistentDiskVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_GitRepoVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_GitRepoVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_GlusterfsVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_GlusterfsVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_HTTPGetAction(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_HTTPGetAction is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_HTTPHeader(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_HTTPHeader is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Handler(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Handler is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_HostAlias(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_HostAlias is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_HostPathVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_HostPathVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ISCSIVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ISCSIVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_KeyToPath(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_KeyToPath is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Lifecycle(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Lifecycle is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_LimitRange(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_LimitRange is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_LimitRangeItem(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_LimitRangeItem is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_LimitRangeList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_LimitRangeList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_LimitRangeSpec(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_LimitRangeSpec is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_List(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_List is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ListOptions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ListOptions is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_LoadBalancerIngress(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_LoadBalancerIngress is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_LoadBalancerStatus(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_LoadBalancerStatus is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_LocalObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_LocalObjectReference is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_LocalVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_LocalVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NFSVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NFSVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Namespace(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Namespace is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NamespaceList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NamespaceList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NamespaceSpec(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NamespaceSpec is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NamespaceStatus(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NamespaceStatus is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Node(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Node is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeAddress(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeAddress is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeAffinity(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeAffinity is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeCondition(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeCondition is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeDaemonEndpoints(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeDaemonEndpoints is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeProxyOptions is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeResources(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeResources is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeSelector(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeSelector is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeSelectorRequirement(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeSelectorRequirement is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeSelectorTerm(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeSelectorTerm is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeSpec(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeSpec is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeStatus(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeStatus is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_NodeSystemInfo(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_NodeSystemInfo is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ObjectFieldSelector(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ObjectFieldSelector is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ObjectMeta(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ObjectMeta is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ObjectReference is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PersistentVolume(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PersistentVolume is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PersistentVolumeClaim(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PersistentVolumeClaim is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PersistentVolumeClaimList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PersistentVolumeClaimList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PersistentVolumeClaimSpec(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PersistentVolumeClaimSpec is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PersistentVolumeClaimStatus(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PersistentVolumeClaimStatus is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PersistentVolumeClaimVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PersistentVolumeClaimVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PersistentVolumeList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PersistentVolumeList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PersistentVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PersistentVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PersistentVolumeSpec(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PersistentVolumeSpec is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PersistentVolumeStatus(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PersistentVolumeStatus is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PhotonPersistentDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PhotonPersistentDiskVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Pod(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Pod is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodAffinity(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodAffinity is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodAffinityTerm(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodAffinityTerm is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodAntiAffinity(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodAntiAffinity is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodAttachOptions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodAttachOptions is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodCondition(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodCondition is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodExecOptions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodExecOptions is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodLogOptions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodLogOptions is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodPortForwardOptions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodPortForwardOptions is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodProxyOptions is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodSecurityContext(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodSecurityContext is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodSignature(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodSignature is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodSpec is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodStatus(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodStatus is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodStatusResult(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodStatusResult is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodTemplate(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodTemplate is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodTemplateList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodTemplateList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PodTemplateSpec(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PodTemplateSpec is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PortworxVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PortworxVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Preconditions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Preconditions is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PreferAvoidPodsEntry(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PreferAvoidPodsEntry is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_PreferredSchedulingTerm(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_PreferredSchedulingTerm is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Probe(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Probe is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ProjectedVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ProjectedVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_QuobyteVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_QuobyteVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_RBDVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_RBDVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_RangeAllocation(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_RangeAllocation is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ReplicationController(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ReplicationController is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ReplicationControllerCondition(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ReplicationControllerCondition is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ReplicationControllerList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ReplicationControllerList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ReplicationControllerSpec(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ReplicationControllerSpec is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ReplicationControllerStatus(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ReplicationControllerStatus is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ResourceFieldSelector(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ResourceFieldSelector is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ResourceQuota(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ResourceQuota is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ResourceQuotaList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ResourceQuotaList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ResourceQuotaSpec(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ResourceQuotaSpec is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ResourceQuotaStatus(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ResourceQuotaStatus is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ResourceRequirements(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ResourceRequirements is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_SELinuxOptions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_SELinuxOptions is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ScaleIOVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ScaleIOVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Secret(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Secret is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_SecretEnvSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_SecretEnvSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_SecretKeySelector(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_SecretKeySelector is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_SecretList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_SecretList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_SecretProjection(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_SecretProjection is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_SecretVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_SecretVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_SecurityContext(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_SecurityContext is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_SerializedReference(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_SerializedReference is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Service(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Service is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ServiceAccount(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ServiceAccount is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ServiceAccountList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ServiceAccountList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ServiceList(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ServiceList is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ServicePort(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ServicePort is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ServiceProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ServiceProxyOptions is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ServiceSpec(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ServiceSpec is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_ServiceStatus(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_ServiceStatus is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_StorageOSPersistentVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_StorageOSPersistentVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_StorageOSVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_StorageOSVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Sysctl(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Sysctl is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_TCPSocketAction(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_TCPSocketAction is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Taint(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Taint is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Toleration(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Toleration is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_Volume(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_Volume is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_VolumeMount(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_VolumeMount is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_VolumeProjection(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_VolumeProjection is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_VolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_VolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_VsphereVirtualDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_VsphereVirtualDiskVolumeSource is an autogenerated deepcopy function.\n\n```go\nfunc DeepCopy_api_WeightedPodAffinityTerm(in interface{}, out interface{}, c *conversion.Cloner) error\n```\nDeepCopy\\_api\\_WeightedPodAffinityTerm is an autogenerated deepcopy function.\n\n```go\nfunc Kind(kind string) schema.GroupKind\n```\nKind takes an unqualified kind and returns a Group qualified GroupKind\n\n```go\nfunc RegisterDeepCopies(scheme *runtime.Scheme) error\n```\nRegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.\n\n```go\nfunc Resource(resource string) schema.GroupResource\n```\nResource takes an unqualified resource and returns a Group qualified GroupResource\n\n## Types\n\n```go\ntype AWSElasticBlockStoreVolumeSource struct {\n\t// Unique id of the persistent disk resource. Used to identify the disk in AWS\n\tVolumeID string\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\t// TODO: how do we prevent errors in the filesystem from compromising the machine\n\t// +optional\n\tFSType string\n\t// Optional: Partition on the disk to mount.\n\t// If omitted, kubelet will attempt to mount the device name.\n\t// Ex. For /dev/sda1, this field is \"1\", for /dev/sda, this field is 0 or empty.\n\t// +optional\n\tPartition int32\n\t// Optional: Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n}\n```\nRepresents 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.\n\n```go\ntype Affinity struct {\n\t// Describes node affinity scheduling rules for the pod.\n\t// +optional\n\tNodeAffinity *NodeAffinity\n\t// Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).\n\t// +optional\n\tPodAffinity *PodAffinity\n\t// Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).\n\t// +optional\n\tPodAntiAffinity *PodAntiAffinity\n}\n```\nAffinity is a group of affinity scheduling rules.\n\n```go\ntype AttachedVolume struct {\n\t// Name of the attached volume\n\tName UniqueVolumeName\n\n\t// DevicePath represents the device path where the volume should be available\n\tDevicePath string\n}\n```\nAttachedVolume describes a volume attached to a node\n\n```go\ntype AvoidPods struct {\n\t// Bounded-sized list of signatures of pods that should avoid this node, sorted\n\t// in timestamp order from oldest to newest. Size of the slice is unspecified.\n\t// +optional\n\tPreferAvoidPods []PreferAvoidPodsEntry\n}\n```\nAvoidPods 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.\n\n```go\nfunc (AvoidPods) MarshalJSON() ([]byte, error)\n```\n\n```go\nfunc (*AvoidPods) UnmarshalJSON([]byte) error\n```\n\n```go\ntype AzureDataDiskCachingMode string\n```\n\n```go\ntype AzureDataDiskKind string\n```\n\n```go\ntype AzureDiskVolumeSource struct {\n\t// The Name of the data disk in the blob storage\n\tDiskName string\n\t// The URI of the data disk in the blob storage\n\tDataDiskURI string\n\t// Host Caching mode: None, Read Only, Read Write.\n\t// +optional\n\tCachingMode *AzureDataDiskCachingMode\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\t// +optional\n\tFSType *string\n\t// Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly *bool\n\t// Expected values Shared: mulitple 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\n\tKind *AzureDataDiskKind\n}\n```\nAzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.\n\n```go\ntype AzureFileVolumeSource struct {\n\t// the name of secret that contains Azure Storage Account Name and Key\n\tSecretName string\n\t// Share Name\n\tShareName string\n\t// Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n}\n```\nAzureFile represents an Azure File Service mount on the host and bind mount to the pod.\n\n```go\ntype Binding struct {\n\tmetav1.TypeMeta\n\t// ObjectMeta describes the object that is being bound.\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Target is the object to bind to.\n\tTarget ObjectReference\n}\n```\nBinding 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.\n\n```go\ntype Capabilities struct {\n\t// Added capabilities\n\t// +optional\n\tAdd []Capability\n\t// Removed capabilities\n\t// +optional\n\tDrop []Capability\n}\n```\nCapabilities represent POSIX capabilities that can be added or removed to a running container.\n\n```go\ntype Capability string\n```\nCapability represent POSIX capabilities type\n\n```go\ntype CephFSVolumeSource struct {\n\t// Required: Monitors is a collection of Ceph monitors\n\tMonitors []string\n\t// Optional: Used as the mounted root, rather than the full Ceph tree, default is /\n\t// +optional\n\tPath string\n\t// Optional: User is the rados user name, default is admin\n\t// +optional\n\tUser string\n\t// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret\n\t// +optional\n\tSecretFile string\n\t// Optional: SecretRef is reference to the authentication secret for User, default is empty.\n\t// +optional\n\tSecretRef *LocalObjectReference\n\t// Optional: Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n}\n```\nRepresents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.\n\n```go\ntype CinderVolumeSource struct {\n\t// Unique id of the volume used to identify the cinder volume\n\tVolumeID string\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\t// +optional\n\tFSType string\n\t// Optional: Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n}\n```\nRepresents 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.\n\n```go\ntype ComponentCondition struct {\n\tType   ComponentConditionType\n\tStatus ConditionStatus\n\t// +optional\n\tMessage string\n\t// +optional\n\tError string\n}\n```\n\n```go\ntype ComponentConditionType string\n```\nType and constants for component health validation.\n\n```go\nconst (\n\tComponentHealthy ComponentConditionType = \"Healthy\"\n)\n```\nThese are the valid conditions for the component.\n\n```go\ntype ComponentStatus struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// +optional\n\tConditions []ComponentCondition\n}\n```\nComponentStatus (and ComponentStatusList) holds the cluster validation info.\n\n```go\ntype ComponentStatusList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\tItems []ComponentStatus\n}\n```\n\n```go\ntype ConditionStatus string\n```\n\n```go\nconst (\n\tConditionTrue    ConditionStatus = \"True\"\n\tConditionFalse   ConditionStatus = \"False\"\n\tConditionUnknown ConditionStatus = \"Unknown\"\n)\n```\nThese are valid condition statuses. \"ConditionTrue\" means a resource is in the condition; \"ConditionFalse\" means a resource is not in the condition; \"ConditionUnknown\" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.\n\n```go\ntype ConfigMap struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Data contains the configuration data.\n\t// Each key must consist of alphanumeric characters, '-', '_' or '.'.\n\t// +optional\n\tData map[string]string\n}\n```\nConfigMap holds configuration data for components or applications to consume.\n\n```go\ntype ConfigMapEnvSource struct {\n\t// The ConfigMap to select from.\n\tLocalObjectReference\n\t// Specify whether the ConfigMap must be defined\n\t// +optional\n\tOptional *bool\n}\n```\nConfigMapEnvSource 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.\n\n```go\ntype ConfigMapKeySelector struct {\n\t// The ConfigMap to select from.\n\tLocalObjectReference\n\t// The key to select.\n\tKey string\n\t// Specify whether the ConfigMap or it's key must be defined\n\t// +optional\n\tOptional *bool\n}\n```\nSelects a key from a ConfigMap.\n\n```go\ntype ConfigMapList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\t// Items is the list of ConfigMaps.\n\tItems []ConfigMap\n}\n```\nConfigMapList is a resource containing a list of ConfigMap objects.\n\n```go\ntype ConfigMapProjection struct {\n\tLocalObjectReference\n\t// If unspecified, each key-value pair in the Data field of the referenced\n\t// ConfigMap will be projected into the volume as a file whose name is the\n\t// key and content is the value. If specified, the listed keys will be\n\t// projected into the specified paths, and unlisted keys will not be\n\t// present. If a key is specified which is not present in the ConfigMap,\n\t// the volume setup will error unless it is marked optional. Paths must be\n\t// relative and may not contain the '..' path or start with '..'.\n\t// +optional\n\tItems []KeyToPath\n\t// Specify whether the ConfigMap or it's keys must be defined\n\t// +optional\n\tOptional *bool\n}\n```\nAdapts 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.\n\n```go\ntype ConfigMapVolumeSource struct {\n\tLocalObjectReference\n\t// If unspecified, each key-value pair in the Data field of the referenced\n\t// ConfigMap will be projected into the volume as a file whose name is the\n\t// key and content is the value. If specified, the listed keys will be\n\t// projected into the specified paths, and unlisted keys will not be\n\t// present. If a key is specified which is not present in the ConfigMap,\n\t// the volume setup will error unless it is marked optional. Paths must be\n\t// relative and may not contain the '..' path or start with '..'.\n\t// +optional\n\tItems []KeyToPath\n\t// Mode bits to use on created files by default. Must be a value between\n\t// 0 and 0777.\n\t// Directories within the path are not affected by this setting.\n\t// This might be in conflict with other options that affect the file\n\t// mode, like fsGroup, and the result can be other mode bits set.\n\t// +optional\n\tDefaultMode *int32\n\t// Specify whether the ConfigMap or it's keys must be defined\n\t// +optional\n\tOptional *bool\n}\n```\nAdapts 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.\n\n```go\ntype Container struct {\n\t// Required: This must be a DNS_LABEL.  Each container in a pod must\n\t// have a unique name.\n\tName string\n\t// Required.\n\tImage string\n\t// Optional: The docker image's entrypoint is used if this is not provided; cannot be updated.\n\t// Variable references $(VAR_NAME) are expanded using the container's environment.  If a variable\n\t// cannot be resolved, the reference in the input string will be unchanged.  The $(VAR_NAME) syntax\n\t// can be escaped with a double $$, ie: $$(VAR_NAME).  Escaped references will never be expanded,\n\t// regardless of whether the variable exists or not.\n\t// +optional\n\tCommand []string\n\t// Optional: The docker image's cmd is used if this is not provided; cannot be updated.\n\t// Variable references $(VAR_NAME) are expanded using the container's environment.  If a variable\n\t// cannot be resolved, the reference in the input string will be unchanged.  The $(VAR_NAME) syntax\n\t// can be escaped with a double $$, ie: $$(VAR_NAME).  Escaped references will never be expanded,\n\t// regardless of whether the variable exists or not.\n\t// +optional\n\tArgs []string\n\t// Optional: Defaults to Docker's default.\n\t// +optional\n\tWorkingDir string\n\t// +optional\n\tPorts []ContainerPort\n\t// List of sources to populate environment variables in the container.\n\t// The keys defined within a source must be a C_IDENTIFIER. All invalid keys\n\t// will be reported as an event when the container is starting. When a key exists in multiple\n\t// sources, the value associated with the last source will take precedence.\n\t// Values defined by an Env with a duplicate key will take precedence.\n\t// Cannot be updated.\n\t// +optional\n\tEnvFrom []EnvFromSource\n\t// +optional\n\tEnv []EnvVar\n\t// Compute resource requirements.\n\t// +optional\n\tResources ResourceRequirements\n\t// +optional\n\tVolumeMounts []VolumeMount\n\t// +optional\n\tLivenessProbe *Probe\n\t// +optional\n\tReadinessProbe *Probe\n\t// +optional\n\tLifecycle *Lifecycle\n\t// Required.\n\t// +optional\n\tTerminationMessagePath string\n\t// +optional\n\tTerminationMessagePolicy TerminationMessagePolicy\n\t// Required: Policy for pulling images for this container\n\tImagePullPolicy PullPolicy\n\t// Optional: SecurityContext defines the security options the container should be run with.\n\t// If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\n\t// +optional\n\tSecurityContext *SecurityContext\n\n\t// Variables for interactive containers, these have very specialized use-cases (e.g. debugging)\n\t// and shouldn't be used for general purpose containers.\n\t// +optional\n\tStdin bool\n\t// +optional\n\tStdinOnce bool\n\t// +optional\n\tTTY bool\n}\n```\nContainer represents a single container that is expected to be run on the host.\n\n```go\ntype ContainerImage struct {\n\t// Names by which this image is known.\n\tNames []string\n\t// The size of the image in bytes.\n\t// +optional\n\tSizeBytes int64\n}\n```\nDescribe a container image\n\n```go\ntype ContainerPort struct {\n\t// Optional: If specified, this must be an IANA_SVC_NAME  Each named port\n\t// in a pod must have a unique name.\n\t// +optional\n\tName string\n\t// Optional: If specified, this must be a valid port number, 0 \u003c x \u003c 65536.\n\t// If HostNetwork is specified, this must match ContainerPort.\n\t// +optional\n\tHostPort int32\n\t// Required: This must be a valid port number, 0 \u003c x \u003c 65536.\n\tContainerPort int32\n\t// Required: Supports \"TCP\" and \"UDP\".\n\t// +optional\n\tProtocol Protocol\n\t// Optional: What host IP to bind the external port to.\n\t// +optional\n\tHostIP string\n}\n```\nContainerPort represents a network port in a single container\n\n```go\ntype ContainerState struct {\n\t// +optional\n\tWaiting *ContainerStateWaiting\n\t// +optional\n\tRunning *ContainerStateRunning\n\t// +optional\n\tTerminated *ContainerStateTerminated\n}\n```\nContainerState 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.\n\n```go\ntype ContainerStateRunning struct {\n\t// +optional\n\tStartedAt metav1.Time\n}\n```\n\n```go\ntype ContainerStateTerminated struct {\n\tExitCode int32\n\t// +optional\n\tSignal int32\n\t// +optional\n\tReason string\n\t// +optional\n\tMessage string\n\t// +optional\n\tStartedAt metav1.Time\n\t// +optional\n\tFinishedAt metav1.Time\n\t// +optional\n\tContainerID string\n}\n```\n\n```go\ntype ContainerStateWaiting struct {\n\t// A brief CamelCase string indicating details about why the container is in waiting state.\n\t// +optional\n\tReason string\n\t// A human-readable message indicating details about why the container is in waiting state.\n\t// +optional\n\tMessage string\n}\n```\n\n```go\ntype ContainerStatus struct {\n\t// Each container in a pod must have a unique name.\n\tName string\n\t// +optional\n\tState ContainerState\n\t// +optional\n\tLastTerminationState ContainerState\n\t// Ready specifies whether the container has passed its readiness check.\n\tReady bool\n\t// Note that this is calculated from dead containers.  But those containers are subject to\n\t// garbage collection.  This value will get capped at 5 by GC.\n\tRestartCount int32\n\tImage        string\n\tImageID      string\n\t// +optional\n\tContainerID string\n}\n```\n\n```go\ntype DNSPolicy string\n```\nDNSPolicy defines how a pod's DNS will be configured.\n\n```go\nconst (\n\t// DNSClusterFirstWithHostNet indicates that the pod should use cluster DNS\n\t// first, if it is available, then fall back on the default\n\t// (as determined by kubelet) DNS settings.\n\tDNSClusterFirstWithHostNet DNSPolicy = \"ClusterFirstWithHostNet\"\n\n\t// DNSClusterFirst indicates that the pod should use cluster DNS\n\t// first unless hostNetwork is true, if it is available, then\n\t// fall back on the default (as determined by kubelet) DNS settings.\n\tDNSClusterFirst DNSPolicy = \"ClusterFirst\"\n\n\t// DNSDefault indicates that the pod should use the default (as\n\t// determined by kubelet) DNS settings.\n\tDNSDefault DNSPolicy = \"Default\"\n)\n```\n\n```go\ntype DaemonEndpoint struct {\n\n\t// Port number of the given endpoint.\n\tPort int32\n}\n```\nDaemonEndpoint contains information about a single Daemon endpoint.\n\n```go\ntype DeleteOptions struct {\n\tmetav1.TypeMeta\n\n\t// Optional duration in seconds before the object should be deleted. Value must be non-negative integer.\n\t// The value zero indicates delete immediately. If this value is nil, the default grace period for the\n\t// specified type will be used.\n\t// +optional\n\tGracePeriodSeconds *int64\n\n\t// Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be\n\t// returned.\n\t// +optional\n\tPreconditions *Preconditions\n\n\t// Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.\n\t// Should the dependent objects be orphaned. If true/false, the \"orphan\"\n\t// finalizer will be added to/removed from the object's finalizers list.\n\t// Either this field or PropagationPolicy may be set, but not both.\n\t// +optional\n\tOrphanDependents *bool\n\n\t// Whether and how garbage collection will be performed.\n\t// Either this field or OrphanDependents may be set, but not both.\n\t// The default policy is decided by the existing finalizer set in the\n\t// metadata.finalizers and the resource-specific default policy.\n\t// +optional\n\tPropagationPolicy *DeletionPropagation\n}\n```\nDeleteOptions may be provided when deleting an API object DEPRECATED: This type has been moved to meta/v1 and will be removed soon.\n\n```go\ntype DeletionPropagation string\n```\nDeletionPropagation decides whether and how garbage collection will be performed.\n\n```go\nconst (\n\t// Orphans the dependents.\n\tDeletePropagationOrphan DeletionPropagation = \"Orphan\"\n\t// Deletes the object from the key-value store, the garbage collector will delete the dependents in the background.\n\tDeletePropagationBackground DeletionPropagation = \"Background\"\n\t// The object exists in the key-value store until the garbage collector deletes all the dependents whose ownerReference.blockOwnerDeletion=true from the key-value store.\n\t// API sever will put the \"DeletingDependents\" finalizer on the object, and sets its deletionTimestamp.\n\t// This policy is cascading, i.e., the dependents will be deleted with Foreground.\n\tDeletePropagationForeground DeletionPropagation = \"Foreground\"\n)\n```\n\n```go\ntype DownwardAPIProjection struct {\n\t// Items is a list of DownwardAPIVolume file\n\t// +optional\n\tItems []DownwardAPIVolumeFile\n}\n```\nRepresents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.\n\n```go\ntype DownwardAPIVolumeFile struct {\n\t// 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 '..'\n\tPath string\n\t// Required: Selects a field of the pod: only annotations, labels, name and  namespace are supported.\n\t// +optional\n\tFieldRef *ObjectFieldSelector\n\t// Selects a resource of the container: only resources limits and requests\n\t// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.\n\t// +optional\n\tResourceFieldRef *ResourceFieldSelector\n\t// Optional: mode bits to use on this file, must be a value between 0\n\t// and 0777. If not specified, the volume defaultMode will be used.\n\t// This might be in conflict with other options that affect the file\n\t// mode, like fsGroup, and the result can be other mode bits set.\n\t// +optional\n\tMode *int32\n}\n```\nRepresents a single file containing information from the downward API\n\n```go\ntype DownwardAPIVolumeSource struct {\n\t// Items is a list of DownwardAPIVolume file\n\t// +optional\n\tItems []DownwardAPIVolumeFile\n\t// Mode bits to use on created files by default. Must be a value between\n\t// 0 and 0777.\n\t// Directories within the path are not affected by this setting.\n\t// This might be in conflict with other options that affect the file\n\t// mode, like fsGroup, and the result can be other mode bits set.\n\t// +optional\n\tDefaultMode *int32\n}\n```\nRepresents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.\n\n```go\ntype EmptyDirVolumeSource struct {\n\t// TODO: Longer term we want to represent the selection of underlying\n\t// media more like a scheduling problem - user says what traits they\n\t// need, we give them a backing store that satisfies that.  For now\n\t// this will cover the most common needs.\n\t// Optional: what type of storage medium should back this directory.\n\t// The default is \"\" which means to use the node's default medium.\n\t// +optional\n\tMedium StorageMedium\n\t// Total amount of local storage required for this EmptyDir volume.\n\t// The size limit is also applicable for memory medium.\n\t// The maximum usage on memory medium EmptyDir would be the minimum value between\n\t// the SizeLimit specified here and the sum of memory limits of all containers in a pod.\n\t// The default is nil which means that the limit is undefined.\n\t// More info: http://kubernetes.io/docs/user-guide/volumes#emptydir\n\t// +optional\n\tSizeLimit resource.Quantity\n}\n```\nRepresents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.\n\n```go\ntype EndpointAddress struct {\n\t// The IP of this endpoint.\n\t// IPv6 is also accepted but not fully supported on all platforms. Also, certain\n\t// kubernetes components, like kube-proxy, are not IPv6 ready.\n\t// TODO: This should allow hostname or IP, see #4447.\n\tIP string\n\t// Optional: Hostname of this endpoint\n\t// Meant to be used by DNS servers etc.\n\t// +optional\n\tHostname string\n\t// Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.\n\t// +optional\n\tNodeName *string\n\t// Optional: The kubernetes object related to the entry point.\n\tTargetRef *ObjectReference\n}\n```\nEndpointAddress is a tuple that describes single IP address.\n\n```go\ntype EndpointPort struct {\n\t// The name of this port (corresponds to ServicePort.Name).  Optional\n\t// if only one port is defined.  Must be a DNS_LABEL.\n\tName string\n\n\t// The port number.\n\tPort int32\n\n\t// The IP protocol for this port.\n\tProtocol Protocol\n}\n```\nEndpointPort is a tuple that describes a single port.\n\n```go\ntype EndpointSubset struct {\n\tAddresses         []EndpointAddress\n\tNotReadyAddresses []EndpointAddress\n\tPorts             []EndpointPort\n}\n```\nEndpointSubset 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\t{\n\t  Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t  Ports:     [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]\n\n```go\ntype Endpoints struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// The set of all endpoints is the union of all subsets.\n\tSubsets []EndpointSubset\n}\n```\nEndpoints is a collection of endpoints that implement the actual service.  Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t   {\n\t     Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t     Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t   },\n\t   {\n\t     Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t     Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t   },\n\t]\n\n```go\ntype EndpointsList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\tItems []Endpoints\n}\n```\nEndpointsList is a list of endpoints.\n\n```go\ntype EnvFromSource struct {\n\t// An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.\n\t// +optional\n\tPrefix string\n\t// The ConfigMap to select from.\n\t//+optional\n\tConfigMapRef *ConfigMapEnvSource\n\t// The Secret to select from.\n\t//+optional\n\tSecretRef *SecretEnvSource\n}\n```\nEnvFromSource represents the source of a set of ConfigMaps\n\n```go\ntype EnvVar struct {\n\t// Required: This must be a C_IDENTIFIER.\n\tName string\n\t// Optional: no more than one of the following may be specified.\n\t// Optional: Defaults to \"\"; variable references $(VAR_NAME) are expanded\n\t// using the previous defined environment variables in the container and\n\t// any service environment variables.  If a variable cannot be resolved,\n\t// the reference in the input string will be unchanged.  The $(VAR_NAME)\n\t// syntax can be escaped with a double $$, ie: $$(VAR_NAME).  Escaped\n\t// references will never be expanded, regardless of whether the variable\n\t// exists or not.\n\t// +optional\n\tValue string\n\t// Optional: Specifies a source the value of this var should come from.\n\t// +optional\n\tValueFrom *EnvVarSource\n}\n```\nEnvVar represents an environment variable present in a Container.\n\n```go\ntype EnvVarSource struct {\n\t// Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,\n\t// spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.\n\t// +optional\n\tFieldRef *ObjectFieldSelector\n\t// Selects a resource of the container: only resources limits and requests\n\t// (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.\n\t// +optional\n\tResourceFieldRef *ResourceFieldSelector\n\t// Selects a key of a ConfigMap.\n\t// +optional\n\tConfigMapKeyRef *ConfigMapKeySelector\n\t// Selects a key of a secret in the pod's namespace.\n\t// +optional\n\tSecretKeyRef *SecretKeySelector\n}\n```\nEnvVarSource represents a source for the value of an EnvVar. Only one of its fields may be set.\n\n```go\ntype Event struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Required. The object that this event is about.\n\t// +optional\n\tInvolvedObject ObjectReference\n\n\t// Optional; this should be a short, machine understandable string that gives the reason\n\t// for this event being generated. For example, if the event is reporting that a container\n\t// can't start, the Reason might be \"ImageNotFound\".\n\t// TODO: provide exact specification for format.\n\t// +optional\n\tReason string\n\n\t// Optional. A human-readable description of the status of this operation.\n\t// TODO: decide on maximum length.\n\t// +optional\n\tMessage string\n\n\t// Optional. The component reporting this event. Should be a short machine understandable string.\n\t// +optional\n\tSource EventSource\n\n\t// The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)\n\t// +optional\n\tFirstTimestamp metav1.Time\n\n\t// The time at which the most recent occurrence of this event was recorded.\n\t// +optional\n\tLastTimestamp metav1.Time\n\n\t// The number of times this event has occurred.\n\t// +optional\n\tCount int32\n\n\t// Type of this event (Normal, Warning), new types could be added in the future.\n\t// +optional\n\tType string\n}\n```\nEvent is a report of an event somewhere in the cluster. TODO: Decide whether to store these separately or with the object they apply to.\n\n```go\ntype EventList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\tItems []Event\n}\n```\nEventList is a list of events.\n\n```go\ntype EventSource struct {\n\t// Component from which the event is generated.\n\t// +optional\n\tComponent string\n\t// Node name on which the event is generated.\n\t// +optional\n\tHost string\n}\n```\n\n```go\ntype ExecAction struct {\n\t// Command is the command line to execute inside the container, the working directory for the\n\t// command  is root ('/') in the container's filesystem.  The command is simply exec'd, it is\n\t// not run inside a shell, so traditional shell instructions ('|', etc) won't work.  To use\n\t// a shell, you need to explicitly call out to that shell.\n\t// +optional\n\tCommand []string\n}\n```\nExecAction describes a \"run in container\" action.\n\n```go\ntype FCVolumeSource struct {\n\t// Required: FC target worldwide names (WWNs)\n\tTargetWWNs []string\n\t// Required: FC target lun number\n\tLun *int32\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\t// TODO: how do we prevent errors in the filesystem from compromising the machine\n\t// +optional\n\tFSType string\n\t// Optional: Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n}\n```\nRepresents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.\n\n```go\ntype FinalizerName string\n```\nFinalizerName is the name identifying a finalizer during namespace lifecycle.\n\n```go\nconst (\n\tFinalizerKubernetes FinalizerName = \"kubernetes\"\n)\n```\nThese are internal finalizer values to Kubernetes, must be qualified name unless defined here or in metav1.\n\n```go\ntype FlexVolumeSource struct {\n\t// Driver is the name of the driver to use for this volume.\n\tDriver string\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.\n\t// +optional\n\tFSType string\n\t// Optional: SecretRef is reference to the secret object containing\n\t// sensitive information to pass to the plugin scripts. This may be\n\t// empty if no secret object is specified. If the secret object\n\t// contains more than one secret, all secrets are passed to the plugin\n\t// scripts.\n\t// +optional\n\tSecretRef *LocalObjectReference\n\t// Optional: Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n\t// Optional: Extra driver options if any.\n\t// +optional\n\tOptions map[string]string\n}\n```\nFlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.\n\n```go\ntype FlockerVolumeSource struct {\n\t// Name of the dataset stored as metadata -\u003e name on the dataset for Flocker\n\t// should be considered as deprecated\n\t// +optional\n\tDatasetName string\n\t// UUID of the dataset. This is unique identifier of a Flocker dataset\n\t// +optional\n\tDatasetUUID string\n}\n```\nRepresents 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.\n\n```go\ntype GCEPersistentDiskVolumeSource struct {\n\t// Unique name of the PD resource. Used to identify the disk in GCE\n\tPDName string\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\t// TODO: how do we prevent errors in the filesystem from compromising the machine\n\t// +optional\n\tFSType string\n\t// Optional: Partition on the disk to mount.\n\t// If omitted, kubelet will attempt to mount the device name.\n\t// Ex. For /dev/sda1, this field is \"1\", for /dev/sda, this field is 0 or empty.\n\t// +optional\n\tPartition int32\n\t// Optional: Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n}\n```\nRepresents 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.\n\n```go\ntype GitRepoVolumeSource struct {\n\t// Repository URL\n\tRepository string\n\t// Commit hash, this is optional\n\t// +optional\n\tRevision string\n\t// Clone target, this is optional\n\t// Must not contain or start with '..'.  If '.' is supplied, the volume directory will be the\n\t// git repository.  Otherwise, if specified, the volume will contain the git repository in\n\t// the subdirectory with the given name.\n\t// +optional\n\tDirectory string\n}\n```\nRepresents 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\n```go\ntype GlusterfsVolumeSource struct {\n\t// Required: EndpointsName is the endpoint name that details Glusterfs topology\n\tEndpointsName string\n\n\t// Required: Path is the Glusterfs volume path\n\tPath string\n\n\t// Optional: Defaults to false (read/write). ReadOnly here will force\n\t// the Glusterfs to be mounted with read-only permissions\n\t// +optional\n\tReadOnly bool\n}\n```\nRepresents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.\n\n```go\ntype HTTPGetAction struct {\n\t// Optional: Path to access on the HTTP server.\n\t// +optional\n\tPath string\n\t// Required: Name or number of the port to access on the container.\n\t// +optional\n\tPort intstr.IntOrString\n\t// Optional: Host name to connect to, defaults to the pod IP. You\n\t// probably want to set \"Host\" in httpHeaders instead.\n\t// +optional\n\tHost string\n\t// Optional: Scheme to use for connecting to the host, defaults to HTTP.\n\t// +optional\n\tScheme URIScheme\n\t// Optional: Custom headers to set in the request. HTTP allows repeated headers.\n\t// +optional\n\tHTTPHeaders []HTTPHeader\n}\n```\nHTTPGetAction describes an action based on HTTP Get requests.\n\n```go\ntype HTTPHeader struct {\n\t// The header field name\n\tName string\n\t// The header field value\n\tValue string\n}\n```\nHTTPHeader describes a custom header to be used in HTTP probes\n\n```go\ntype Handler struct {\n\t// One and only one of the following should be specified.\n\t// Exec specifies the action to take.\n\t// +optional\n\tExec *ExecAction\n\t// HTTPGet specifies the http request to perform.\n\t// +optional\n\tHTTPGet *HTTPGetAction\n\t// TCPSocket specifies an action involving a TCP port.\n\t// TODO: implement a realistic TCP lifecycle hook\n\t// +optional\n\tTCPSocket *TCPSocketAction\n}\n```\nHandler defines a specific action that should be taken TODO: pass structured data to these actions, and document that data here.\n\n```go\ntype HostAlias struct {\n\tIP        string\n\tHostnames []string\n}\n```\nHostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.\n\n```go\ntype HostPathVolumeSource struct {\n\tPath string\n}\n```\nRepresents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.\n\n```go\ntype ISCSIVolumeSource struct {\n\t// Required: iSCSI target portal\n\t// the portal is either an IP or ip_addr:port if port is other than default (typically TCP ports 860 and 3260)\n\t// +optional\n\tTargetPortal string\n\t// Required:  target iSCSI Qualified Name\n\t// +optional\n\tIQN string\n\t// Required: iSCSI target lun number\n\t// +optional\n\tLun int32\n\t// Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.\n\t// +optional\n\tISCSIInterface string\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\t// TODO: how do we prevent errors in the filesystem from compromising the machine\n\t// +optional\n\tFSType string\n\t// Optional: Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n\t// Optional: list of iSCSI target portal ips for high availability.\n\t// the portal is either an IP or ip_addr:port if port is other than default (typically TCP ports 860 and 3260)\n\t// +optional\n\tPortals []string\n\t// Optional: whether support iSCSI Discovery CHAP authentication\n\t// +optional\n\tDiscoveryCHAPAuth bool\n\t// Optional: whether support iSCSI Session CHAP authentication\n\t// +optional\n\tSessionCHAPAuth bool\n\t// Optional: CHAP secret for iSCSI target and initiator authentication.\n\t// The secret is used if either DiscoveryCHAPAuth or SessionCHAPAuth is true\n\t// +optional\n\tSecretRef *LocalObjectReference\n}\n```\nRepresents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.\n\n```go\ntype KeyToPath struct {\n\t// The key to project.\n\tKey string\n\n\t// The relative path of the file to map the key to.\n\t// May not be an absolute path.\n\t// May not contain the path element '..'.\n\t// May not start with the string '..'.\n\tPath string\n\t// Optional: mode bits to use on this file, should be a value between 0\n\t// and 0777. If not specified, the volume defaultMode will be used.\n\t// This might be in conflict with other options that affect the file\n\t// mode, like fsGroup, and the result can be other mode bits set.\n\t// +optional\n\tMode *int32\n}\n```\nMaps a string key to a path within a volume.\n\n```go\ntype Lifecycle struct {\n\t// PostStart is called immediately after a container is created.  If the handler fails, the container\n\t// is terminated and restarted.\n\t// +optional\n\tPostStart *Handler\n\t// PreStop is called immediately before a container is terminated.  The reason for termination is\n\t// passed to the handler.  Regardless of the outcome of the handler, the container is eventually terminated.\n\t// +optional\n\tPreStop *Handler\n}\n```\nLifecycle 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.\n\n```go\ntype LimitRange struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Spec defines the limits enforced\n\t// +optional\n\tSpec LimitRangeSpec\n}\n```\nLimitRange sets resource usage limits for each kind of resource in a Namespace\n\n```go\ntype LimitRangeItem struct {\n\t// Type of resource that this limit applies to\n\t// +optional\n\tType LimitType\n\t// Max usage constraints on this kind by resource name\n\t// +optional\n\tMax ResourceList\n\t// Min usage constraints on this kind by resource name\n\t// +optional\n\tMin ResourceList\n\t// Default resource requirement limit value by resource name.\n\t// +optional\n\tDefault ResourceList\n\t// DefaultRequest resource requirement request value by resource name.\n\t// +optional\n\tDefaultRequest ResourceList\n\t// MaxLimitRequestRatio represents the max burst value for the named resource\n\t// +optional\n\tMaxLimitRequestRatio ResourceList\n}\n```\nLimitRangeItem defines a min/max usage limit for any resource that matches on kind\n\n```go\ntype LimitRangeList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\t// Items is a list of LimitRange objects\n\tItems []LimitRange\n}\n```\nLimitRangeList is a list of LimitRange items.\n\n```go\ntype LimitRangeSpec struct {\n\t// Limits is the list of LimitRangeItem objects that are enforced\n\tLimits []LimitRangeItem\n}\n```\nLimitRangeSpec defines a min/max usage limit for resources that match on kind\n\n```go\ntype LimitType string\n```\nA type of object that is limited\n\n```go\nconst (\n\t// Limit that applies to all pods in a namespace\n\tLimitTypePod LimitType = \"Pod\"\n\t// Limit that applies to all containers in a namespace\n\tLimitTypeContainer LimitType = \"Container\"\n\t// Limit that applies to all persistent volume claims in a namespace\n\tLimitTypePersistentVolumeClaim LimitType = \"PersistentVolumeClaim\"\n)\n```\n\n```go\ntype List struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\tItems []runtime.Object\n}\n```\nList holds a list of objects, which may not be known by the server.\n\n```go\ntype ListOptions struct {\n\tmetav1.TypeMeta\n\n\t// A selector based on labels\n\tLabelSelector labels.Selector\n\t// A selector based on fields\n\tFieldSelector fields.Selector\n\n\t// If true, partially initialized resources are included in the response.\n\tIncludeUninitialized bool\n\n\t// If true, watch for changes to this list\n\tWatch bool\n\t// When specified with a watch call, shows changes that occur after that particular version of a resource.\n\t// Defaults to changes from the beginning of history.\n\t// When specified for list:\n\t// - if unset, then the result is returned from remote storage based on quorum-read flag;\n\t// - if it's 0, then we simply return what we currently have in cache, no guarantee;\n\t// - if set to non zero, then the result is at least as fresh as given rv.\n\tResourceVersion string\n\t// Timeout for the list/watch call.\n\tTimeoutSeconds *int64\n}\n```\nListOptions is the query options to a standard REST list call, and has future support for watch calls. DEPRECATED: This type has been moved to meta/v1 and will be removed soon.\n\n```go\ntype LoadBalancerIngress struct {\n\t// IP is set for load-balancer ingress points that are IP based\n\t// (typically GCE or OpenStack load-balancers)\n\t// +optional\n\tIP string\n\n\t// Hostname is set for load-balancer ingress points that are DNS based\n\t// (typically AWS load-balancers)\n\t// +optional\n\tHostname string\n}\n```\nLoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.\n\n```go\ntype LoadBalancerStatus struct {\n\t// Ingress is a list containing ingress points for the load-balancer;\n\t// traffic intended for the service should be sent to these ingress points.\n\t// +optional\n\tIngress []LoadBalancerIngress\n}\n```\nLoadBalancerStatus represents the status of a load-balancer\n\n```go\ntype LocalObjectReference struct {\n\t//TODO: Add other useful fields.  apiVersion, kind, uid?\n\tName string\n}\n```\nLocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.\n\n```go\ntype LocalVolumeSource struct {\n\t// The full path to the volume on the node\n\t// For alpha, this path must be a directory\n\t// Once block as a source is supported, then this path can point to a block device\n\tPath string\n}\n```\nLocal represents directly-attached storage with node affinity\n\n```go\ntype NFSVolumeSource struct {\n\t// Server is the hostname or IP address of the NFS server\n\tServer string\n\n\t// Path is the exported NFS share\n\tPath string\n\n\t// Optional: Defaults to false (read/write). ReadOnly here will force\n\t// the NFS export to be mounted with read-only permissions\n\t// +optional\n\tReadOnly bool\n}\n```\nRepresents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.\n\n```go\ntype Namespace struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Spec defines the behavior of the Namespace.\n\t// +optional\n\tSpec NamespaceSpec\n\n\t// Status describes the current status of a Namespace\n\t// +optional\n\tStatus NamespaceStatus\n}\n```\nA namespace provides a scope for Names. Use of multiple namespaces is optional\n\n```go\ntype NamespaceList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\tItems []Namespace\n}\n```\nNamespaceList is a list of Namespaces.\n\n```go\ntype NamespacePhase string\n```\n\n```go\nconst (\n\t// NamespaceActive means the namespace is available for use in the system\n\tNamespaceActive NamespacePhase = \"Active\"\n\t// NamespaceTerminating means the namespace is undergoing graceful termination\n\tNamespaceTerminating NamespacePhase = \"Terminating\"\n)\n```\nThese are the valid phases of a namespace.\n\n```go\ntype NamespaceSpec struct {\n\t// Finalizers is an opaque list of values that must be empty to permanently remove object from storage\n\tFinalizers []FinalizerName\n}\n```\nNamespaceSpec describes the attributes on a Namespace\n\n```go\ntype NamespaceStatus struct {\n\t// Phase is the current lifecycle phase of the namespace.\n\t// +optional\n\tPhase NamespacePhase\n}\n```\nNamespaceStatus is information about the current status of a Namespace.\n\n```go\ntype Node struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Spec defines the behavior of a node.\n\t// +optional\n\tSpec NodeSpec\n\n\t// Status describes the current status of a Node\n\t// +optional\n\tStatus NodeStatus\n}\n```\nNode is a worker node in Kubernetes The name of the node according to etcd is in ObjectMeta.Name.\n\n```go\ntype NodeAddress struct {\n\tType    NodeAddressType\n\tAddress string\n}\n```\n\n```go\ntype NodeAddressType string\n```\n\n```go\nconst (\n\tNodeHostName    NodeAddressType = \"Hostname\"\n\tNodeExternalIP  NodeAddressType = \"ExternalIP\"\n\tNodeInternalIP  NodeAddressType = \"InternalIP\"\n\tNodeExternalDNS NodeAddressType = \"ExternalDNS\"\n\tNodeInternalDNS NodeAddressType = \"InternalDNS\"\n)\n```\n\n```go\ntype NodeAffinity struct {\n\n\t// If the affinity requirements specified by this field are not met at\n\t// scheduling time, the pod will not be scheduled onto the node.\n\t// If the affinity requirements specified by this field cease to be met\n\t// at some point during pod execution (e.g. due to an update), the system\n\t// may or may not try to eventually evict the pod from its node.\n\t// +optional\n\tRequiredDuringSchedulingIgnoredDuringExecution *NodeSelector\n\t// The scheduler will prefer to schedule pods to nodes that satisfy\n\t// the affinity expressions specified by this field, but it may choose\n\t// a node that violates one or more of the expressions. The node that is\n\t// most preferred is the one with the greatest sum of weights, i.e.\n\t// for each node that meets all of the scheduling requirements (resource\n\t// request, requiredDuringScheduling affinity expressions, etc.),\n\t// compute a sum by iterating through the elements of this field and adding\n\t// \"weight\" to the sum if the node matches the corresponding matchExpressions; the\n\t// node(s) with the highest sum are the most preferred.\n\t// +optional\n\tPreferredDuringSchedulingIgnoredDuringExecution []PreferredSchedulingTerm\n}\n```\nNode affinity is a group of node affinity scheduling rules.\n\n```go\ntype NodeCondition struct {\n\tType   NodeConditionType\n\tStatus ConditionStatus\n\t// +optional\n\tLastHeartbeatTime metav1.Time\n\t// +optional\n\tLastTransitionTime metav1.Time\n\t// +optional\n\tReason string\n\t// +optional\n\tMessage string\n}\n```\n\n```go\ntype NodeConditionType string\n```\n\n```go\nconst (\n\t// NodeReady means kubelet is healthy and ready to accept pods.\n\tNodeReady NodeConditionType = \"Ready\"\n\t// NodeOutOfDisk means the kubelet will not accept new pods due to insufficient free disk\n\t// space on the node.\n\tNodeOutOfDisk NodeConditionType = \"OutOfDisk\"\n\t// NodeMemoryPressure means the kubelet is under pressure due to insufficient available memory.\n\tNodeMemoryPressure NodeConditionType = \"MemoryPressure\"\n\t// NodeDiskPressure means the kubelet is under pressure due to insufficient available disk.\n\tNodeDiskPressure NodeConditionType = \"DiskPressure\"\n\t// NodeNetworkUnavailable means that network for the node is not correctly configured.\n\tNodeNetworkUnavailable NodeConditionType = \"NetworkUnavailable\"\n)\n```\nThese are valid conditions of node. Currently, we don't have enough information to decide node condition. In the future, we will add more. The proposed set of conditions are: NodeReady, NodeReachable\n\n```go\ntype NodeDaemonEndpoints struct {\n\t// Endpoint on which Kubelet is listening.\n\t// +optional\n\tKubeletEndpoint DaemonEndpoint\n}\n```\nNodeDaemonEndpoints lists ports opened by daemons running on the Node.\n\n```go\ntype NodeList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\tItems []Node\n}\n```\nNodeList is a list of nodes.\n\n```go\ntype NodePhase string\n```\n\n```go\nconst (\n\t// NodePending means the node has been created/added by the system, but not configured.\n\tNodePending NodePhase = \"Pending\"\n\t// NodeRunning means the node has been configured and has Kubernetes components running.\n\tNodeRunning NodePhase = \"Running\"\n\t// NodeTerminated means the node has been removed from the cluster.\n\tNodeTerminated NodePhase = \"Terminated\"\n)\n```\nThese are the valid phases of node.\n\n```go\ntype NodeProxyOptions struct {\n\tmetav1.TypeMeta\n\n\t// Path is the URL path to use for the current proxy request\n\tPath string\n}\n```\nNodeProxyOptions is the query options to a Node's proxy call\n\n```go\ntype NodeResources struct {\n\t// Capacity represents the available resources of a node\n\t// +optional\n\tCapacity ResourceList\n}\n```\nNodeResources is an object for conveying resource information about a node. see [http://releases.k8s.io/HEAD/docs/design/resources.md](http://releases.k8s.io/HEAD/docs/design/resources.md) for more details.\n\n```go\ntype NodeSelector struct {\n\t//Required. A list of node selector terms. The terms are ORed.\n\tNodeSelectorTerms []NodeSelectorTerm\n}\n```\nA 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.\n\n```go\ntype NodeSelectorOperator string\n```\nA node selector operator is the set of operators that can be used in a node selector requirement.\n\n```go\nconst (\n\tNodeSelectorOpIn           NodeSelectorOperator = \"In\"\n\tNodeSelectorOpNotIn        NodeSelectorOperator = \"NotIn\"\n\tNodeSelectorOpExists       NodeSelectorOperator = \"Exists\"\n\tNodeSelectorOpDoesNotExist NodeSelectorOperator = \"DoesNotExist\"\n\tNodeSelectorOpGt           NodeSelectorOperator = \"Gt\"\n\tNodeSelectorOpLt           NodeSelectorOperator = \"Lt\"\n)\n```\n\n```go\ntype NodeSelectorRequirement struct {\n\t// The label key that the selector applies to.\n\tKey string\n\t// Represents a key's relationship to a set of values.\n\t// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.\n\tOperator NodeSelectorOperator\n\t// An array of string values. If the operator is In or NotIn,\n\t// the values array must be non-empty. If the operator is Exists or DoesNotExist,\n\t// the values array must be empty. If the operator is Gt or Lt, the values\n\t// array must have a single element, which will be interpreted as an integer.\n\t// This array is replaced during a strategic merge patch.\n\t// +optional\n\tValues []string\n}\n```\nA node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.\n\n```go\ntype NodeSelectorTerm struct {\n\t//Required. A list of node selector requirements. The requirements are ANDed.\n\tMatchExpressions []NodeSelectorRequirement\n}\n```\nA null or empty node selector term matches no objects.\n\n```go\ntype NodeSpec struct {\n\t// PodCIDR represents the pod IP range assigned to the node\n\t// Note: assigning IP ranges to nodes might need to be revisited when we support migratable IPs.\n\t// +optional\n\tPodCIDR string\n\n\t// External ID of the node assigned by some machine database (e.g. a cloud provider)\n\t// +optional\n\tExternalID string\n\n\t// ID of the node assigned by the cloud provider\n\t// Note: format is \"\u003cProviderName\u003e://\u003cProviderSpecificNodeID\u003e\"\n\t// +optional\n\tProviderID string\n\n\t// Unschedulable controls node schedulability of new pods. By default node is schedulable.\n\t// +optional\n\tUnschedulable bool\n\n\t// If specified, the node's taints.\n\t// +optional\n\tTaints []Taint\n}\n```\nNodeSpec describes the attributes that a node is created with.\n\n```go\ntype NodeStatus struct {\n\t// Capacity represents the total resources of a node.\n\t// +optional\n\tCapacity ResourceList\n\t// Allocatable represents the resources of a node that are available for scheduling.\n\t// +optional\n\tAllocatable ResourceList\n\t// NodePhase is the current lifecycle phase of the node.\n\t// +optional\n\tPhase NodePhase\n\t// Conditions is an array of current node conditions.\n\t// +optional\n\tConditions []NodeCondition\n\t// Queried from cloud provider, if available.\n\t// +optional\n\tAddresses []NodeAddress\n\t// Endpoints of daemons running on the Node.\n\t// +optional\n\tDaemonEndpoints NodeDaemonEndpoints\n\t// Set of ids/uuids to uniquely identify the node.\n\t// +optional\n\tNodeInfo NodeSystemInfo\n\t// List of container images on this node\n\t// +optional\n\tImages []ContainerImage\n\t// List of attachable volumes in use (mounted) by the node.\n\t// +optional\n\tVolumesInUse []UniqueVolumeName\n\t// List of volumes that are attached to the node.\n\t// +optional\n\tVolumesAttached []AttachedVolume\n}\n```\nNodeStatus is information about the current status of a node.\n\n```go\ntype NodeSystemInfo struct {\n\t// MachineID reported by the node. For unique machine identification\n\t// in the cluster this field is preferred. Learn more from man(5)\n\t// machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html\n\tMachineID string\n\t// SystemUUID reported by the node. For unique machine identification\n\t// MachineID is preferred. This field is specific to Red Hat hosts\n\t// https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html\n\tSystemUUID string\n\t// Boot ID reported by the node.\n\tBootID string\n\t// Kernel Version reported by the node.\n\tKernelVersion string\n\t// OS Image reported by the node.\n\tOSImage string\n\t// ContainerRuntime Version reported by the node.\n\tContainerRuntimeVersion string\n\t// Kubelet Version reported by the node.\n\tKubeletVersion string\n\t// KubeProxy Version reported by the node.\n\tKubeProxyVersion string\n\t// The Operating System reported by the node\n\tOperatingSystem string\n\t// The Architecture reported by the node\n\tArchitecture string\n}\n```\nNodeSystemInfo is a set of ids/uuids to uniquely identify the node.\n\n```go\ntype ObjectFieldSelector struct {\n\t// Required: Version of the schema the FieldPath is written in terms of.\n\t// If no value is specified, it will be defaulted to the APIVersion of the\n\t// enclosing object.\n\tAPIVersion string\n\t// Required: Path of the field to select in the specified API version\n\tFieldPath string\n}\n```\nObjectFieldSelector selects an APIVersioned field of an object.\n\n```go\ntype ObjectMeta struct {\n\t// Name is unique within a namespace.  Name is required when creating resources, although\n\t// some resources may allow a client to request the generation of an appropriate name\n\t// automatically. Name is primarily intended for creation idempotence and configuration\n\t// definition.\n\t// +optional\n\tName string\n\n\t// GenerateName indicates that the name should be made unique by the server prior to persisting\n\t// it. A non-empty value for the field indicates the name will be made unique (and the name\n\t// returned to the client will be different than the name passed). The value of this field will\n\t// be combined with a unique suffix on the server if the Name field has not been provided.\n\t// The provided value must be valid within the rules for Name, and may be truncated by the length\n\t// of the suffix required to make the value unique on the server.\n\t//\n\t// If this field is specified, and Name is not present, the server will NOT return a 409 if the\n\t// generated name exists - instead, it will either return 201 Created or 500 with Reason\n\t// ServerTimeout indicating a unique name could not be found in the time allotted, and the client\n\t// should retry (optionally after the time indicated in the Retry-After header).\n\t// +optional\n\tGenerateName string\n\n\t// Namespace defines the space within which name must be unique. An empty namespace is\n\t// equivalent to the \"default\" namespace, but \"default\" is the canonical representation.\n\t// Not all objects are required to be scoped to a namespace - the value of this field for\n\t// those objects will be empty.\n\t// +optional\n\tNamespace string\n\n\t// SelfLink is a URL representing this object.\n\t// +optional\n\tSelfLink string\n\n\t// UID is the unique in time and space value for this object. It is typically generated by\n\t// the server on successful creation of a resource and is not allowed to change on PUT\n\t// operations.\n\t// +optional\n\tUID types.UID\n\n\t// An opaque value that represents the version of this resource. May be used for optimistic\n\t// concurrency, change detection, and the watch operation on a resource or set of resources.\n\t// Clients must treat these values as opaque and values may only be valid for a particular\n\t// resource or set of resources. Only servers will generate resource versions.\n\t// +optional\n\tResourceVersion string\n\n\t// A sequence number representing a specific generation of the desired state.\n\t// Populated by the system. Read-only.\n\t// +optional\n\tGeneration int64\n\n\t// CreationTimestamp is a timestamp representing the server time when this object was\n\t// created. It is not guaranteed to be set in happens-before order across separate operations.\n\t// Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\t// +optional\n\tCreationTimestamp metav1.Time\n\n\t// DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This\n\t// field is set by the server when a graceful deletion is requested by the user, and is not\n\t// directly settable by a client. The resource is expected to be deleted (no longer visible\n\t// from resource lists, and not reachable by name) after the time in this field. Once set,\n\t// this value may not be unset or be set further into the future, although it may be shortened\n\t// or the resource may be deleted prior to this time. For example, a user may request that\n\t// a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination\n\t// signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard\n\t// termination signal (SIGKILL) to the container and after cleanup, remove the pod from the\n\t// API. In the presence of network partitions, this object may still exist after this\n\t// timestamp, until an administrator or automated process can determine the resource is\n\t// fully terminated.\n\t// If not set, graceful deletion of the object has not been requested.\n\t//\n\t// Populated by the system when a graceful deletion is requested.\n\t// Read-only.\n\t// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\n\t// +optional\n\tDeletionTimestamp *metav1.Time\n\n\t// DeletionGracePeriodSeconds records the graceful deletion value set when graceful deletion\n\t// was requested. Represents the most recent grace period, and may only be shortened once set.\n\t// +optional\n\tDeletionGracePeriodSeconds *int64\n\n\t// Labels are key value pairs that may be used to scope and select individual resources.\n\t// Label keys are of the form:\n\t//     label-key ::= prefixed-name | name\n\t//     prefixed-name ::= prefix '/' name\n\t//     prefix ::= DNS_SUBDOMAIN\n\t//     name ::= DNS_LABEL\n\t// The prefix is optional.  If the prefix is not specified, the key is assumed to be private\n\t// to the user.  Other system components that wish to use labels must specify a prefix.  The\n\t// \"kubernetes.io/\" prefix is reserved for use by kubernetes components.\n\t// +optional\n\tLabels map[string]string\n\n\t// Annotations are unstructured key value data stored with a resource that may be set by\n\t// external tooling. They are not queryable and should be preserved when modifying\n\t// objects.  Annotation keys have the same formatting restrictions as Label keys. See the\n\t// comments on Labels for details.\n\t// +optional\n\tAnnotations map[string]string\n\n\t// List of objects depended by this object. If ALL objects in the list have\n\t// been deleted, this object will be garbage collected. If this object is managed by a controller,\n\t// then an entry in this list will point to this controller, with the controller field set to true.\n\t// There cannot be more than one managing controller.\n\t// +optional\n\tOwnerReferences []metav1.OwnerReference\n\n\t// An initializer is a controller which enforces some system invariant at object creation time.\n\t// This field is a list of initializers that have not yet acted on this object. If nil or empty,\n\t// this object has been completely initialized. Otherwise, the object is considered uninitialized\n\t// and is hidden (in list/watch and get calls) from clients that haven't explicitly asked to\n\t// observe uninitialized objects.\n\t//\n\t// When an object is created, the system will populate this list with the current set of initializers.\n\t// Only privileged users may set or modify this list. Once it is empty, it may not be modified further\n\t// by any user.\n\tInitializers *metav1.Initializers\n\n\t// Must be empty before the object is deleted from the registry. Each entry\n\t// is an identifier for the responsible component that will remove the entry\n\t// from the list. If the deletionTimestamp of the object is non-nil, entries\n\t// in this list can only be removed.\n\t// +optional\n\tFinalizers []string\n\n\t// The name of the cluster which the object belongs to.\n\t// This is used to distinguish resources with same name and namespace in different clusters.\n\t// This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.\n\t// +optional\n\tClusterName string\n}\n```\nObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. DEPRECATED: Use k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta instead - this type will be removed soon.\n\n```go\ntype ObjectReference struct {\n\t// +optional\n\tKind string\n\t// +optional\n\tNamespace string\n\t// +optional\n\tName string\n\t// +optional\n\tUID types.UID\n\t// +optional\n\tAPIVersion string\n\t// +optional\n\tResourceVersion string\n\n\t// Optional. If referring to a piece of an object instead of an entire object, this string\n\t// should contain information to identify the sub-object. For example, if the object\n\t// reference is to a container within a pod, this would take on a value like:\n\t// \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\n\t// the event) or if no container name is specified \"spec.containers[2]\" (container with\n\t// index 2 in this pod). This syntax is chosen only to have some well-defined way of\n\t// referencing a part of an object.\n\t// TODO: this design is not final and this field is subject to change in the future.\n\t// +optional\n\tFieldPath string\n}\n```\nObjectReference contains enough information to let you inspect or modify the referred object.\n\n```go\nfunc (obj *ObjectReference) GetObjectKind() schema.ObjectKind\n```\n\n```go\nfunc (obj *ObjectReference) GroupVersionKind() schema.GroupVersionKind\n```\n\n```go\nfunc (obj *ObjectReference) SetGroupVersionKind(gvk schema.GroupVersionKind)\n```\n\n```go\ntype PersistentVolume struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t//Spec defines a persistent volume owned by the cluster\n\t// +optional\n\tSpec PersistentVolumeSpec\n\n\t// Status represents the current information about persistent volume.\n\t// +optional\n\tStatus PersistentVolumeStatus\n}\n```\n\n```go\ntype PersistentVolumeAccessMode string\n```\n\n```go\nconst (\n\t// can be mounted read/write mode to exactly 1 host\n\tReadWriteOnce PersistentVolumeAccessMode = \"ReadWriteOnce\"\n\t// can be mounted in read-only mode to many hosts\n\tReadOnlyMany PersistentVolumeAccessMode = \"ReadOnlyMany\"\n\t// can be mounted in read/write mode to many hosts\n\tReadWriteMany PersistentVolumeAccessMode = \"ReadWriteMany\"\n)\n```\n\n```go\ntype PersistentVolumeClaim struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Spec defines the volume requested by a pod author\n\t// +optional\n\tSpec PersistentVolumeClaimSpec\n\n\t// Status represents the current information about a claim\n\t// +optional\n\tStatus PersistentVolumeClaimStatus\n}\n```\nPersistentVolumeClaim is a user's request for and claim to a persistent volume\n\n```go\ntype PersistentVolumeClaimList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\tItems []PersistentVolumeClaim\n}\n```\n\n```go\ntype PersistentVolumeClaimPhase string\n```\n\n```go\nconst (\n\t// used for PersistentVolumeClaims that are not yet bound\n\tClaimPending PersistentVolumeClaimPhase = \"Pending\"\n\t// used for PersistentVolumeClaims that are bound\n\tClaimBound PersistentVolumeClaimPhase = \"Bound\"\n\t// used for PersistentVolumeClaims that lost their underlying\n\t// PersistentVolume. The claim was bound to a PersistentVolume and this\n\t// volume does not exist any longer and all data on it was lost.\n\tClaimLost PersistentVolumeClaimPhase = \"Lost\"\n)\n```\n\n```go\ntype PersistentVolumeClaimSpec struct {\n\t// Contains the types of access modes required\n\t// +optional\n\tAccessModes []PersistentVolumeAccessMode\n\t// A label query over volumes to consider for binding. This selector is\n\t// ignored when VolumeName is set\n\t// +optional\n\tSelector *metav1.LabelSelector\n\t// Resources represents the minimum resources required\n\t// +optional\n\tResources ResourceRequirements\n\t// VolumeName is the binding reference to the PersistentVolume backing this\n\t// claim. When set to non-empty value Selector is not evaluated\n\t// +optional\n\tVolumeName string\n\t// Name of the StorageClass required by the claim.\n\t// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class-1\n\t// +optional\n\tStorageClassName *string\n}\n```\nPersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes\n\n```go\ntype PersistentVolumeClaimStatus struct {\n\t// Phase represents the current phase of PersistentVolumeClaim\n\t// +optional\n\tPhase PersistentVolumeClaimPhase\n\t// AccessModes contains all ways the volume backing the PVC can be mounted\n\t// +optional\n\tAccessModes []PersistentVolumeAccessMode\n\t// Represents the actual resources of the underlying volume\n\t// +optional\n\tCapacity ResourceList\n}\n```\n\n```go\ntype PersistentVolumeClaimVolumeSource struct {\n\t// ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume\n\tClaimName string\n\t// Optional: Defaults to false (read/write).  ReadOnly here\n\t// will force the ReadOnly setting in VolumeMounts\n\t// +optional\n\tReadOnly bool\n}\n```\n\n```go\ntype PersistentVolumeList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\tItems []PersistentVolume\n}\n```\n\n```go\ntype PersistentVolumePhase string\n```\n\n```go\nconst (\n\t// used for PersistentVolumes that are not available\n\tVolumePending PersistentVolumePhase = \"Pending\"\n\t// used for PersistentVolumes that are not yet bound\n\t// Available volumes are held by the binder and matched to PersistentVolumeClaims\n\tVolumeAvailable PersistentVolumePhase = \"Available\"\n\t// used for PersistentVolumes that are bound\n\tVolumeBound PersistentVolumePhase = \"Bound\"\n\t// used for PersistentVolumes where the bound PersistentVolumeClaim was deleted\n\t// released volumes must be recycled before becoming available again\n\t// this phase is used by the persistent volume claim binder to signal to another process to reclaim the resource\n\tVolumeReleased PersistentVolumePhase = \"Released\"\n\t// used for PersistentVolumes that failed to be correctly recycled or deleted after being released from a claim\n\tVolumeFailed PersistentVolumePhase = \"Failed\"\n)\n```\n\n```go\ntype PersistentVolumeReclaimPolicy string\n```\nPersistentVolumeReclaimPolicy describes a policy for end-of-life maintenance of persistent volumes\n\n```go\nconst (\n\t// PersistentVolumeReclaimRecycle means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim.\n\t// The volume plugin must support Recycling.\n\tPersistentVolumeReclaimRecycle PersistentVolumeReclaimPolicy = \"Recycle\"\n\t// PersistentVolumeReclaimDelete means the volume will be deleted from Kubernetes on release from its claim.\n\t// The volume plugin must support Deletion.\n\tPersistentVolumeReclaimDelete PersistentVolumeReclaimPolicy = \"Delete\"\n\t// PersistentVolumeReclaimRetain means the volume will be left in its current phase (Released) for manual reclamation by the administrator.\n\t// The default policy is Retain.\n\tPersistentVolumeReclaimRetain PersistentVolumeReclaimPolicy = \"Retain\"\n)\n```\n\n```go\ntype PersistentVolumeSource struct {\n\t// GCEPersistentDisk represents a GCE Disk resource that is attached to a\n\t// kubelet's host machine and then exposed to the pod.\n\t// +optional\n\tGCEPersistentDisk *GCEPersistentDiskVolumeSource\n\t// AWSElasticBlockStore represents an AWS EBS disk that is attached to a\n\t// kubelet's host machine and then exposed to the pod.\n\t// +optional\n\tAWSElasticBlockStore *AWSElasticBlockStoreVolumeSource\n\t// HostPath represents a directory on the host.\n\t// Provisioned by a developer or tester.\n\t// This is useful for single-node development and testing only!\n\t// On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster.\n\t// +optional\n\tHostPath *HostPathVolumeSource\n\t// Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod\n\t// +optional\n\tGlusterfs *GlusterfsVolumeSource\n\t// NFS represents an NFS mount on the host that shares a pod's lifetime\n\t// +optional\n\tNFS *NFSVolumeSource\n\t// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime\n\t// +optional\n\tRBD *RBDVolumeSource\n\t// Quobyte represents a Quobyte mount on the host that shares a pod's lifetime\n\t// +optional\n\tQuobyte *QuobyteVolumeSource\n\t// ISCSIVolumeSource represents an ISCSI resource that is attached to a\n\t// kubelet's host machine and then exposed to the pod.\n\t// +optional\n\tISCSI *ISCSIVolumeSource\n\t// FlexVolume represents a generic volume resource that is\n\t// provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.\n\t// +optional\n\tFlexVolume *FlexVolumeSource\n\t// Cinder represents a cinder volume attached and mounted on kubelets host machine\n\t// +optional\n\tCinder *CinderVolumeSource\n\t// CephFS represents a Ceph FS mount on the host that shares a pod's lifetime\n\t// +optional\n\tCephFS *CephFSVolumeSource\n\t// FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.\n\t// +optional\n\tFC *FCVolumeSource\n\t// Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running\n\t// +optional\n\tFlocker *FlockerVolumeSource\n\t// AzureFile represents an Azure File Service mount on the host and bind mount to the pod.\n\t// +optional\n\tAzureFile *AzureFileVolumeSource\n\t// VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine\n\t// +optional\n\tVsphereVolume *VsphereVirtualDiskVolumeSource\n\t// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.\n\t// +optional\n\tAzureDisk *AzureDiskVolumeSource\n\t// PhotonPersistentDisk represents a Photon Controller persistent disk attached and mounted on kubelets host machine\n\tPhotonPersistentDisk *PhotonPersistentDiskVolumeSource\n\t// PortworxVolume represents a portworx volume attached and mounted on kubelets host machine\n\t// +optional\n\tPortworxVolume *PortworxVolumeSource\n\t// ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.\n\t// +optional\n\tScaleIO *ScaleIOVolumeSource\n\t// Local represents directly-attached storage with node affinity\n\t// +optional\n\tLocal *LocalVolumeSource\n\t// StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod\n\t// More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md\n\t// +optional\n\tStorageOS *StorageOSPersistentVolumeSource\n}\n```\nSimilar to VolumeSource but meant for the administrator who creates PVs. Exactly one of its members must be set.\n\n```go\ntype PersistentVolumeSpec struct {\n\t// Resources represents the actual resources of the volume\n\tCapacity ResourceList\n\t// Source represents the location and type of a volume to mount.\n\tPersistentVolumeSource\n\t// AccessModes contains all ways the volume can be mounted\n\t// +optional\n\tAccessModes []PersistentVolumeAccessMode\n\t// ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.\n\t// ClaimRef is expected to be non-nil when bound.\n\t// claim.VolumeName is the authoritative bind between PV and PVC.\n\t// When set to non-nil value, PVC.Spec.Selector of the referenced PVC is\n\t// ignored, i.e. labels of this PV do not need to match PVC selector.\n\t// +optional\n\tClaimRef *ObjectReference\n\t// Optional: what happens to a persistent volume when released from its claim.\n\t// +optional\n\tPersistentVolumeReclaimPolicy PersistentVolumeReclaimPolicy\n\t// Name of StorageClass to which this persistent volume belongs. Empty value\n\t// means that this volume does not belong to any StorageClass.\n\t// +optional\n\tStorageClassName string\n}\n```\n\n```go\ntype PersistentVolumeStatus struct {\n\t// Phase indicates if a volume is available, bound to a claim, or released by a claim\n\t// +optional\n\tPhase PersistentVolumePhase\n\t// A human-readable message indicating details about why the volume is in this state.\n\t// +optional\n\tMessage string\n\t// Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI\n\t// +optional\n\tReason string\n}\n```\n\n```go\ntype PhotonPersistentDiskVolumeSource struct {\n\t// ID that identifies Photon Controller persistent disk\n\tPdID string\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\tFSType string\n}\n```\nRepresents a Photon Controller persistent disk resource.\n\n```go\ntype Pod struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Spec defines the behavior of a pod.\n\t// +optional\n\tSpec PodSpec\n\n\t// Status represents the current information about a pod. This data may not be up\n\t// to date.\n\t// +optional\n\tStatus PodStatus\n}\n```\nPod is a collection of containers, used as either input (create, update) or as output (list, get).\n\n```go\ntype PodAffinity struct {\n\t// NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented.\n\t// If the affinity requirements specified by this field are not met at\n\t// scheduling time, the pod will not be scheduled onto the node.\n\t// If the affinity requirements specified by this field cease to be met\n\t// at some point during pod execution (e.g. due to a pod label update), the\n\t// system will try to eventually evict the pod from its node.\n\t// When there are multiple elements, the lists of nodes corresponding to each\n\t// podAffinityTerm are intersected, i.e. all terms must be satisfied.\n\t// +optional\n\t// RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm\n\t// If the affinity requirements specified by this field are not met at\n\t// scheduling time, the pod will not be scheduled onto the node.\n\t// If the affinity requirements specified by this field cease to be met\n\t// at some point during pod execution (e.g. due to a pod label update), the\n\t// system may or may not try to eventually evict the pod from its node.\n\t// When there are multiple elements, the lists of nodes corresponding to each\n\t// podAffinityTerm are intersected, i.e. all terms must be satisfied.\n\t// +optional\n\tRequiredDuringSchedulingIgnoredDuringExecution []PodAffinityTerm\n\t// The scheduler will prefer to schedule pods to nodes that satisfy\n\t// the affinity expressions specified by this field, but it may choose\n\t// a node that violates one or more of the expressions. The node that is\n\t// most preferred is the one with the greatest sum of weights, i.e.\n\t// for each node that meets all of the scheduling requirements (resource\n\t// request, requiredDuringScheduling affinity expressions, etc.),\n\t// compute a sum by iterating through the elements of this field and adding\n\t// \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\n\t// node(s) with the highest sum are the most preferred.\n\t// +optional\n\tPreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTerm\n}\n```\nPod affinity is a group of inter pod affinity scheduling rules.\n\n```go\ntype PodAffinityTerm struct {\n\t// A label query over a set of resources, in this case pods.\n\t// +optional\n\tLabelSelector *metav1.LabelSelector\n\t// namespaces specifies which namespaces the labelSelector applies to (matches against);\n\t// null or empty list means \"this pod's namespace\"\n\tNamespaces []string\n\t// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\n\t// the labelSelector in the specified namespaces, where co-located is defined as running on a node\n\t// whose value of the label with key topologyKey matches that of any node on which any of the\n\t// selected pods is running.\n\t// For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\"\n\t// (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains);\n\t// for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed.\n\t// +optional\n\tTopologyKey string\n}\n```\nDefines 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 \\\u003ctopologyKey\u003e matches that of any node on which a pod of the set of pods is running.\n\n```go\ntype PodAntiAffinity struct {\n\t// NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented.\n\t// If the anti-affinity requirements specified by this field are not met at\n\t// scheduling time, the pod will not be scheduled onto the node.\n\t// If the anti-affinity requirements specified by this field cease to be met\n\t// at some point during pod execution (e.g. due to a pod label update), the\n\t// system will try to eventually evict the pod from its node.\n\t// When there are multiple elements, the lists of nodes corresponding to each\n\t// podAffinityTerm are intersected, i.e. all terms must be satisfied.\n\t// +optional\n\t// RequiredDuringSchedulingRequiredDuringExecution []PodAffinityTerm\n\t// If the anti-affinity requirements specified by this field are not met at\n\t// scheduling time, the pod will not be scheduled onto the node.\n\t// If the anti-affinity requirements specified by this field cease to be met\n\t// at some point during pod execution (e.g. due to a pod label update), the\n\t// system may or may not try to eventually evict the pod from its node.\n\t// When there are multiple elements, the lists of nodes corresponding to each\n\t// podAffinityTerm are intersected, i.e. all terms must be satisfied.\n\t// +optional\n\tRequiredDuringSchedulingIgnoredDuringExecution []PodAffinityTerm\n\t// The scheduler will prefer to schedule pods to nodes that satisfy\n\t// the anti-affinity expressions specified by this field, but it may choose\n\t// a node that violates one or more of the expressions. The node that is\n\t// most preferred is the one with the greatest sum of weights, i.e.\n\t// for each node that meets all of the scheduling requirements (resource\n\t// request, requiredDuringScheduling anti-affinity expressions, etc.),\n\t// compute a sum by iterating through the elements of this field and adding\n\t// \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\n\t// node(s) with the highest sum are the most preferred.\n\t// +optional\n\tPreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTerm\n}\n```\nPod anti affinity is a group of inter pod anti affinity scheduling rules.\n\n```go\ntype PodAttachOptions struct {\n\tmetav1.TypeMeta\n\n\t// Stdin if true indicates that stdin is to be redirected for the attach call\n\t// +optional\n\tStdin bool\n\n\t// Stdout if true indicates that stdout is to be redirected for the attach call\n\t// +optional\n\tStdout bool\n\n\t// Stderr if true indicates that stderr is to be redirected for the attach call\n\t// +optional\n\tStderr bool\n\n\t// TTY if true indicates that a tty will be allocated for the attach call\n\t// +optional\n\tTTY bool\n\n\t// Container to attach to.\n\t// +optional\n\tContainer string\n}\n```\nPodAttachOptions is the query options to a Pod's remote attach call TODO: merge w/ PodExecOptions below for stdin, stdout, etc\n\n```go\ntype PodCondition struct {\n\tType   PodConditionType\n\tStatus ConditionStatus\n\t// +optional\n\tLastProbeTime metav1.Time\n\t// +optional\n\tLastTransitionTime metav1.Time\n\t// +optional\n\tReason string\n\t// +optional\n\tMessage string\n}\n```\n\n```go\ntype PodConditionType string\n```\n\n```go\nconst (\n\t// PodScheduled represents status of the scheduling process for this pod.\n\tPodScheduled PodConditionType = \"PodScheduled\"\n\t// PodReady means the pod is able to service requests and should be added to the\n\t// load balancing pools of all matching services.\n\tPodReady PodConditionType = \"Ready\"\n\t// PodInitialized means that all init containers in the pod have started successfully.\n\tPodInitialized PodConditionType = \"Initialized\"\n\t// PodReasonUnschedulable reason in PodScheduled PodCondition means that the scheduler\n\t// can't schedule the pod right now, for example due to insufficient resources in the cluster.\n\tPodReasonUnschedulable = \"Unschedulable\"\n)\n```\nThese are valid conditions of pod.\n\n```go\ntype PodExecOptions struct {\n\tmetav1.TypeMeta\n\n\t// Stdin if true indicates that stdin is to be redirected for the exec call\n\tStdin bool\n\n\t// Stdout if true indicates that stdout is to be redirected for the exec call\n\tStdout bool\n\n\t// Stderr if true indicates that stderr is to be redirected for the exec call\n\tStderr bool\n\n\t// TTY if true indicates that a tty will be allocated for the exec call\n\tTTY bool\n\n\t// Container in which to execute the command.\n\tContainer string\n\n\t// Command is the remote command to execute; argv array; not executed within a shell.\n\tCommand []string\n}\n```\nPodExecOptions is the query options to a Pod's remote exec call\n\n```go\ntype PodList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\tItems []Pod\n}\n```\nPodList is a list of Pods.\n\n```go\ntype PodLogOptions struct {\n\tmetav1.TypeMeta\n\n\t// Container for which to return logs\n\tContainer string\n\t// If true, follow the logs for the pod\n\tFollow bool\n\t// If true, return previous terminated container logs\n\tPrevious bool\n\t// A relative time in seconds before the current time from which to show logs. If this value\n\t// precedes the time a pod was started, only logs since the pod start will be returned.\n\t// If this value is in the future, no logs will be returned.\n\t// Only one of sinceSeconds or sinceTime may be specified.\n\tSinceSeconds *int64\n\t// An RFC3339 timestamp from which to show logs. If this value\n\t// precedes the time a pod was started, only logs since the pod start will be returned.\n\t// If this value is in the future, no logs will be returned.\n\t// Only one of sinceSeconds or sinceTime may be specified.\n\tSinceTime *metav1.Time\n\t// If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line\n\t// of log output.\n\tTimestamps bool\n\t// If set, the number of lines from the end of the logs to show. If not specified,\n\t// logs are shown from the creation of the container or sinceSeconds or sinceTime\n\tTailLines *int64\n\t// If set, the number of bytes to read from the server before terminating the\n\t// log output. This may not display a complete final line of logging, and may return\n\t// slightly more or slightly less than the specified limit.\n\tLimitBytes *int64\n}\n```\nPodLogOptions is the query options for a Pod's logs REST call\n\n```go\ntype PodPhase string\n```\nPodPhase is a label for the condition of a pod at the current time.\n\n```go\nconst (\n\t// PodPending means the pod has been accepted by the system, but one or more of the containers\n\t// has not been started. This includes time before being bound to a node, as well as time spent\n\t// pulling images onto the host.\n\tPodPending PodPhase = \"Pending\"\n\t// PodRunning means the pod has been bound to a node and all of the containers have been started.\n\t// At least one container is still running or is in the process of being restarted.\n\tPodRunning PodPhase = \"Running\"\n\t// PodSucceeded means that all containers in the pod have voluntarily terminated\n\t// with a container exit code of 0, and the system is not going to restart any of these containers.\n\tPodSucceeded PodPhase = \"Succeeded\"\n\t// PodFailed means that all containers in the pod have terminated, and at least one container has\n\t// terminated in a failure (exited with a non-zero exit code or was stopped by the system).\n\tPodFailed PodPhase = \"Failed\"\n\t// PodUnknown means that for some reason the state of the pod could not be obtained, typically due\n\t// to an error in communicating with the host of the pod.\n\tPodUnknown PodPhase = \"Unknown\"\n)\n```\nThese are the valid statuses of pods.\n\n```go\ntype PodPortForwardOptions struct {\n\tmetav1.TypeMeta\n\n\t// The list of ports to forward\n\t// +optional\n\tPorts []int32\n}\n```\nPodPortForwardOptions is the query options to a Pod's port forward call\n\n```go\ntype PodProxyOptions struct {\n\tmetav1.TypeMeta\n\n\t// Path is the URL path to use for the current proxy request\n\tPath string\n}\n```\nPodProxyOptions is the query options to a Pod's proxy call\n\n```go\ntype PodQOSClass string\n```\nPodQOSClass defines the supported qos classes of Pods.\n\n```go\nconst (\n\t// PodQOSGuaranteed is the Guaranteed qos class.\n\tPodQOSGuaranteed PodQOSClass = \"Guaranteed\"\n\t// PodQOSBurstable is the Burstable qos class.\n\tPodQOSBurstable PodQOSClass = \"Burstable\"\n\t// PodQOSBestEffort is the BestEffort qos class.\n\tPodQOSBestEffort PodQOSClass = \"BestEffort\"\n)\n```\n\n```go\ntype PodSecurityContext struct {\n\t// Use the host's network namespace.  If this option is set, the ports that will be\n\t// used must be specified.\n\t// Optional: Default to false\n\t// +k8s:conversion-gen=false\n\t// +optional\n\tHostNetwork bool\n\t// Use the host's pid namespace.\n\t// Optional: Default to false.\n\t// +k8s:conversion-gen=false\n\t// +optional\n\tHostPID bool\n\t// Use the host's ipc namespace.\n\t// Optional: Default to false.\n\t// +k8s:conversion-gen=false\n\t// +optional\n\tHostIPC bool\n\t// The SELinux context to be applied to all containers.\n\t// If unspecified, the container runtime will allocate a random SELinux context for each\n\t// container.  May also be set in SecurityContext.  If set in\n\t// both SecurityContext and PodSecurityContext, the value specified in SecurityContext\n\t// takes precedence for that container.\n\t// +optional\n\tSELinuxOptions *SELinuxOptions\n\t// The UID to run the entrypoint of the container process.\n\t// Defaults to user specified in image metadata if unspecified.\n\t// May also be set in SecurityContext.  If set in both SecurityContext and\n\t// PodSecurityContext, the value specified in SecurityContext takes precedence\n\t// for that container.\n\t// +optional\n\tRunAsUser *int64\n\t// Indicates that the container must run as a non-root user.\n\t// If true, the Kubelet will validate the image at runtime to ensure that it\n\t// does not run as UID 0 (root) and fail to start the container if it does.\n\t// If unset or false, no such validation will be performed.\n\t// May also be set in SecurityContext.  If set in both SecurityContext and\n\t// PodSecurityContext, the value specified in SecurityContext takes precedence.\n\t// +optional\n\tRunAsNonRoot *bool\n\t// A list of groups applied to the first process run in each container, in addition\n\t// to the container's primary GID.  If unspecified, no groups will be added to\n\t// any container.\n\t// +optional\n\tSupplementalGroups []int64\n\t// A special supplemental group that applies to all containers in a pod.\n\t// Some volume types allow the Kubelet to change the ownership of that volume\n\t// to be owned by the pod:\n\t//\n\t// 1. The owning GID will be the FSGroup\n\t// 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n\t// 3. The permission bits are OR'd with rw-rw----\n\t//\n\t// If unset, the Kubelet will not modify the ownership and permissions of any volume.\n\t// +optional\n\tFSGroup *int64\n}\n```\nPodSecurityContext 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.\n\n```go\ntype PodSignature struct {\n\t// Reference to controller whose pods should avoid this node.\n\t// +optional\n\tPodController *metav1.OwnerReference\n}\n```\nDescribes the class of pods that should avoid this node. Exactly one field should be set.\n\n```go\ntype PodSpec struct {\n\tVolumes []Volume\n\t// List of initialization containers belonging to the pod.\n\tInitContainers []Container\n\t// List of containers belonging to the pod.\n\tContainers []Container\n\t// +optional\n\tRestartPolicy RestartPolicy\n\t// Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.\n\t// Value must be non-negative integer. The value zero indicates delete immediately.\n\t// If this value is nil, the default grace period will be used instead.\n\t// The grace period is the duration in seconds after the processes running in the pod are sent\n\t// a termination signal and the time when the processes are forcibly halted with a kill signal.\n\t// Set this value longer than the expected cleanup time for your process.\n\t// +optional\n\tTerminationGracePeriodSeconds *int64\n\t// Optional duration in seconds relative to the StartTime that the pod may be active on a node\n\t// before the system actively tries to terminate the pod; value must be positive integer\n\t// +optional\n\tActiveDeadlineSeconds *int64\n\t// Required: Set DNS policy.\n\t// +optional\n\tDNSPolicy DNSPolicy\n\t// NodeSelector is a selector which must be true for the pod to fit on a node\n\t// +optional\n\tNodeSelector map[string]string\n\n\t// ServiceAccountName is the name of the ServiceAccount to use to run this pod\n\t// The pod will be allowed to use secrets referenced by the ServiceAccount\n\tServiceAccountName string\n\t// AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.\n\t// +optional\n\tAutomountServiceAccountToken *bool\n\n\t// NodeName is a request to schedule this pod onto a specific node.  If it is non-empty,\n\t// the scheduler simply schedules this pod onto that node, assuming that it fits resource\n\t// requirements.\n\t// +optional\n\tNodeName string\n\t// SecurityContext holds pod-level security attributes and common container settings.\n\t// Optional: Defaults to empty.  See type description for default values of each field.\n\t// +optional\n\tSecurityContext *PodSecurityContext\n\t// 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.\n\t// If specified, these secrets will be passed to individual puller implementations for them to use.  For example,\n\t// in the case of docker, only DockerConfig type secrets are honored.\n\t// +optional\n\tImagePullSecrets []LocalObjectReference\n\t// Specifies the hostname of the Pod.\n\t// If not specified, the pod's hostname will be set to a system-defined value.\n\t// +optional\n\tHostname string\n\t// If specified, the fully qualified Pod hostname will be \"\u003chostname\u003e.\u003csubdomain\u003e.\u003cpod namespace\u003e.svc.\u003ccluster domain\u003e\".\n\t// If not specified, the pod will not have a domainname at all.\n\t// +optional\n\tSubdomain string\n\t// If specified, the pod's scheduling constraints\n\t// +optional\n\tAffinity *Affinity\n\t// If specified, the pod will be dispatched by specified scheduler.\n\t// If not specified, the pod will be dispatched by default scheduler.\n\t// +optional\n\tSchedulerName string\n\t// If specified, the pod's tolerations.\n\t// +optional\n\tTolerations []Toleration\n\t// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts\n\t// file if specified. This is only valid for non-hostNetwork pods.\n\t// +optional\n\tHostAliases []HostAlias\n}\n```\nPodSpec is a description of a pod\n\n```go\ntype PodStatus struct {\n\t// +optional\n\tPhase PodPhase\n\t// +optional\n\tConditions []PodCondition\n\t// A human readable message indicating details about why the pod is in this state.\n\t// +optional\n\tMessage string\n\t// A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk'\n\t// +optional\n\tReason string\n\n\t// +optional\n\tHostIP string\n\t// +optional\n\tPodIP string\n\n\t// Date and time at which the object was acknowledged by the Kubelet.\n\t// This is before the Kubelet pulled the container image(s) for the pod.\n\t// +optional\n\tStartTime *metav1.Time\n\t// +optional\n\tQOSClass PodQOSClass\n\n\t// The list has one entry per init container in the manifest. The most recent successful\n\t// init container will have ready = true, the most recently started container will have\n\t// startTime set.\n\t// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-and-container-status\n\tInitContainerStatuses []ContainerStatus\n\t// The list has one entry per container in the manifest. Each entry is\n\t// currently the output of `docker inspect`. This output format is *not*\n\t// final and should not be relied upon.\n\t// TODO: Make real decisions about what our info should look like. Re-enable fuzz test\n\t// when we have done this.\n\t// +optional\n\tContainerStatuses []ContainerStatus\n}\n```\nPodStatus represents information about the status of a pod. Status may trail the actual state of a system.\n\n```go\ntype PodStatusResult struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\t// Status represents the current information about a pod. This data may not be up\n\t// to date.\n\t// +optional\n\tStatus PodStatus\n}\n```\nPodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded\n\n```go\ntype PodTemplate struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Template defines the pods that will be created from this pod template\n\t// +optional\n\tTemplate PodTemplateSpec\n}\n```\nPodTemplate describes a template for creating copies of a predefined pod.\n\n```go\ntype PodTemplateList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\tItems []PodTemplate\n}\n```\nPodTemplateList is a list of PodTemplates.\n\n```go\ntype PodTemplateSpec struct {\n\t// Metadata of the pods created from this template.\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Spec defines the behavior of a pod.\n\t// +optional\n\tSpec PodSpec\n}\n```\nPodTemplateSpec describes the data a pod should have when created from a template\n\n```go\ntype PortworxVolumeSource struct {\n\t// VolumeID uniquely identifies a Portworx volume\n\tVolumeID string\n\t// FSType represents the filesystem type to mount\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\t// +optional\n\tFSType string\n\t// Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n}\n```\nPortworxVolumeSource represents a Portworx volume resource.\n\n```go\ntype Preconditions struct {\n\t// Specifies the target UID.\n\t// +optional\n\tUID *types.UID\n}\n```\nPreconditions must be fulfilled before an operation (update, delete, etc.) is carried out.\n\n```go\ntype PreferAvoidPodsEntry struct {\n\t// The class of pods.\n\tPodSignature PodSignature\n\t// Time at which this entry was added to the list.\n\t// +optional\n\tEvictionTime metav1.Time\n\t// (brief) reason why this entry was added to the list.\n\t// +optional\n\tReason string\n\t// Human readable message indicating why this entry was added to the list.\n\t// +optional\n\tMessage string\n}\n```\nDescribes a class of pods that should avoid this node.\n\n```go\ntype PreferredSchedulingTerm struct {\n\t// Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.\n\tWeight int32\n\t// A node selector term, associated with the corresponding weight.\n\tPreference NodeSelectorTerm\n}\n```\nAn 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).\n\n```go\ntype Probe struct {\n\t// The action taken to determine the health of a container\n\tHandler\n\t// Length of time before health checking is activated.  In seconds.\n\t// +optional\n\tInitialDelaySeconds int32\n\t// Length of time before health checking times out.  In seconds.\n\t// +optional\n\tTimeoutSeconds int32\n\t// How often (in seconds) to perform the probe.\n\t// +optional\n\tPeriodSeconds int32\n\t// Minimum consecutive successes for the probe to be considered successful after having failed.\n\t// Must be 1 for liveness.\n\t// +optional\n\tSuccessThreshold int32\n\t// Minimum consecutive failures for the probe to be considered failed after having succeeded.\n\t// +optional\n\tFailureThreshold int32\n}\n```\nProbe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.\n\n```go\ntype ProjectedVolumeSource struct {\n\t// list of volume projections\n\tSources []VolumeProjection\n\t// Mode bits to use on created files by default. Must be a value between\n\t// 0 and 0777.\n\t// Directories within the path are not affected by this setting.\n\t// This might be in conflict with other options that affect the file\n\t// mode, like fsGroup, and the result can be other mode bits set.\n\t// +optional\n\tDefaultMode *int32\n}\n```\nRepresents a projected volume source\n\n```go\ntype Protocol string\n```\nProtocol defines network protocols supported for things like container ports.\n\n```go\nconst (\n\t// ProtocolTCP is the TCP protocol.\n\tProtocolTCP Protocol = \"TCP\"\n\t// ProtocolUDP is the UDP protocol.\n\tProtocolUDP Protocol = \"UDP\"\n)\n```\n\n```go\ntype PullPolicy string\n```\nPullPolicy describes a policy for if/when to pull a container image\n\n```go\nconst (\n\t// PullAlways means that kubelet always attempts to pull the latest image.  Container will fail If the pull fails.\n\tPullAlways PullPolicy = \"Always\"\n\t// PullNever means that kubelet never pulls an image, but only uses a local image.  Container will fail if the image isn't present\n\tPullNever PullPolicy = \"Never\"\n\t// PullIfNotPresent means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n\tPullIfNotPresent PullPolicy = \"IfNotPresent\"\n)\n```\n\n```go\ntype QuobyteVolumeSource struct {\n\t// Registry represents a single or multiple Quobyte Registry services\n\t// specified as a string as host:port pair (multiple entries are separated with commas)\n\t// which acts as the central registry for volumes\n\tRegistry string\n\n\t// Volume is a string that references an already created Quobyte volume by name.\n\tVolume string\n\n\t// Defaults to false (read/write). ReadOnly here will force\n\t// the Quobyte to be mounted with read-only permissions\n\t// +optional\n\tReadOnly bool\n\n\t// User to map volume access to\n\t// Defaults to the root user\n\t// +optional\n\tUser string\n\n\t// Group to map volume access to\n\t// Default is no group\n\t// +optional\n\tGroup string\n}\n```\nRepresents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.\n\n```go\ntype RBDVolumeSource struct {\n\t// Required: CephMonitors is a collection of Ceph monitors\n\tCephMonitors []string\n\t// Required: RBDImage is the rados image name\n\tRBDImage string\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\t// TODO: how do we prevent errors in the filesystem from compromising the machine\n\t// +optional\n\tFSType string\n\t// Optional: RadosPool is the rados pool name,default is rbd\n\t// +optional\n\tRBDPool string\n\t// Optional: RBDUser is the rados user name, default is admin\n\t// +optional\n\tRadosUser string\n\t// Optional: Keyring is the path to key ring for RBDUser, default is /etc/ceph/keyring\n\t// +optional\n\tKeyring string\n\t// Optional: SecretRef is name of the authentication secret for RBDUser, default is nil.\n\t// +optional\n\tSecretRef *LocalObjectReference\n\t// Optional: Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n}\n```\nRepresents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.\n\n```go\ntype RangeAllocation struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\t// A string representing a unique label for a range of resources, such as a CIDR \"10.0.0.0/8\" or\n\t// port range \"10000-30000\". Range is not strongly schema'd here. The Range is expected to define\n\t// a start and end unless there is an implicit end.\n\tRange string\n\t// A byte array representing the serialized state of a range allocation. Additional clarifiers on\n\t// the type or format of data should be represented with annotations. For IP allocations, this is\n\t// represented as a bit array starting at the base IP of the CIDR in Range, with each bit representing\n\t// a single allocated address (the fifth bit on CIDR 10.0.0.0/8 is 10.0.0.4).\n\tData []byte\n}\n```\nRangeAllocation is an opaque API object (not exposed to end users) that can be persisted to record the global allocation state of the cluster. The schema of Range and Data generic, in that Range should be a string representation of the inputs to a range (for instance, for IP allocation it might be a CIDR) and Data is an opaque blob understood by an allocator which is typically a binary range.  Consumers should use annotations to record additional information (schema version, data encoding hints). A range allocation should \\*ALWAYS\\* be recreatable at any time by observation of the cluster, thus the object is less strongly typed than most.\n\n```go\ntype ReplicationController struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Spec defines the desired behavior of this replication controller.\n\t// +optional\n\tSpec ReplicationControllerSpec\n\n\t// Status is the current status of this replication controller. This data may be\n\t// out of date by some window of time.\n\t// +optional\n\tStatus ReplicationControllerStatus\n}\n```\nReplicationController represents the configuration of a replication controller.\n\n```go\ntype ReplicationControllerCondition struct {\n\t// Type of replication controller condition.\n\tType ReplicationControllerConditionType\n\t// Status of the condition, one of True, False, Unknown.\n\tStatus ConditionStatus\n\t// The last time the condition transitioned from one status to another.\n\t// +optional\n\tLastTransitionTime metav1.Time\n\t// The reason for the condition's last transition.\n\t// +optional\n\tReason string\n\t// A human readable message indicating details about the transition.\n\t// +optional\n\tMessage string\n}\n```\nReplicationControllerCondition describes the state of a replication controller at a certain point.\n\n```go\ntype ReplicationControllerConditionType string\n```\n\n```go\nconst (\n\t// ReplicationControllerReplicaFailure is added in a replication controller when one of its pods\n\t// fails to be created due to insufficient quota, limit ranges, pod security policy, node selectors,\n\t// etc. or deleted due to kubelet being down or finalizers are failing.\n\tReplicationControllerReplicaFailure ReplicationControllerConditionType = \"ReplicaFailure\"\n)\n```\nThese are valid conditions of a replication controller.\n\n```go\ntype ReplicationControllerList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\tItems []ReplicationController\n}\n```\nReplicationControllerList is a collection of replication controllers.\n\n```go\ntype ReplicationControllerSpec struct {\n\t// Replicas is the number of desired replicas.\n\tReplicas int32\n\n\t// Minimum number of seconds for which a newly created pod should be ready\n\t// without any of its container crashing, for it to be considered available.\n\t// Defaults to 0 (pod will be considered available as soon as it is ready)\n\t// +optional\n\tMinReadySeconds int32\n\n\t// Selector is a label query over pods that should match the Replicas count.\n\tSelector map[string]string\n\n\t// Template is the object that describes the pod that will be created if\n\t// insufficient replicas are detected. Internally, this takes precedence over a\n\t// TemplateRef.\n\t// +optional\n\tTemplate *PodTemplateSpec\n}\n```\nReplicationControllerSpec is the specification of a replication controller. As the internal representation of a replication controller, it may have either a TemplateRef or a Template set.\n\n```go\ntype ReplicationControllerStatus struct {\n\t// Replicas is the number of actual replicas.\n\tReplicas int32\n\n\t// The number of pods that have labels matching the labels of the pod template of the replication controller.\n\t// +optional\n\tFullyLabeledReplicas int32\n\n\t// The number of ready replicas for this replication controller.\n\t// +optional\n\tReadyReplicas int32\n\n\t// The number of available replicas (ready for at least minReadySeconds) for this replication controller.\n\t// +optional\n\tAvailableReplicas int32\n\n\t// ObservedGeneration is the most recent generation observed by the controller.\n\t// +optional\n\tObservedGeneration int64\n\n\t// Represents the latest available observations of a replication controller's current state.\n\t// +optional\n\tConditions []ReplicationControllerCondition\n}\n```\nReplicationControllerStatus represents the current status of a replication controller.\n\n```go\ntype ResourceFieldSelector struct {\n\t// Container name: required for volumes, optional for env vars\n\t// +optional\n\tContainerName string\n\t// Required: resource to select\n\tResource string\n\t// Specifies the output format of the exposed resources, defaults to \"1\"\n\t// +optional\n\tDivisor resource.Quantity\n}\n```\nResourceFieldSelector represents container resources (cpu, memory) and their output format\n\n```go\ntype ResourceList map[ResourceName]resource.Quantity\n```\nResourceList is a set of (resource name, quantity) pairs.\n\n```go\nfunc (self *ResourceList) Cpu() *resource.Quantity\n```\nReturns the CPU limit if specified.\n\n```go\nfunc (self *ResourceList) Memory() *resource.Quantity\n```\nReturns the Memory limit if specified.\n\n```go\nfunc (self *ResourceList) NvidiaGPU() *resource.Quantity\n```\n\n```go\nfunc (self *ResourceList) Pods() *resource.Quantity\n```\n\n```go\nfunc (self *ResourceList) StorageOverlay() *resource.Quantity\n```\n\n```go\ntype ResourceName string\n```\nResourceName is the name identifying various resources in a ResourceList.\n\n```go\nconst (\n\t// CPU, in cores. (500m = .5 cores)\n\tResourceCPU ResourceName = \"cpu\"\n\t// Memory, in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024)\n\tResourceMemory ResourceName = \"memory\"\n\t// Volume size, in bytes (e,g. 5Gi = 5GiB = 5 * 1024 * 1024 * 1024)\n\tResourceStorage ResourceName = \"storage\"\n\t// Local Storage for overlay filesystem, in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024)\n\t// The resource name for ResourceStorageOverlay is alpha and it can change across releases.\n\tResourceStorageOverlay ResourceName = \"storage.kubernetes.io/overlay\"\n\t// Local Storage for scratch space, in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024)\n\t// The resource name for ResourceStorageScratch is alpha and it can change across releases.\n\tResourceStorageScratch ResourceName = \"storage.kubernetes.io/scratch\"\n\t// NVIDIA GPU, in devices. Alpha, might change: although fractional and allowing values \u003e1, only one whole device per node is assigned.\n\tResourceNvidiaGPU ResourceName = \"alpha.kubernetes.io/nvidia-gpu\"\n)\n```\nResource names must be not more than 63 characters, consisting of upper- or lower-case alphanumeric characters, with the -, \\_, and . characters allowed anywhere, except the first or last character. The default convention, matching that for annotations, is to use lower-case names, with dashes, rather than camel case, separating compound words. Fully-qualified resource typenames are constructed from a DNS-style subdomain, followed by a slash \\`/\\` and a name.\n\n```go\nconst (\n\t// Pods, number\n\tResourcePods ResourceName = \"pods\"\n\t// Services, number\n\tResourceServices ResourceName = \"services\"\n\t// ReplicationControllers, number\n\tResourceReplicationControllers ResourceName = \"replicationcontrollers\"\n\t// ResourceQuotas, number\n\tResourceQuotas ResourceName = \"resourcequotas\"\n\t// ResourceSecrets, number\n\tResourceSecrets ResourceName = \"secrets\"\n\t// ResourceConfigMaps, number\n\tResourceConfigMaps ResourceName = \"configmaps\"\n\t// ResourcePersistentVolumeClaims, number\n\tResourcePersistentVolumeClaims ResourceName = \"persistentvolumeclaims\"\n\t// ResourceServicesNodePorts, number\n\tResourceServicesNodePorts ResourceName = \"services.nodeports\"\n\t// ResourceServicesLoadBalancers, number\n\tResourceServicesLoadBalancers ResourceName = \"services.loadbalancers\"\n\t// CPU request, in cores. (500m = .5 cores)\n\tResourceRequestsCPU ResourceName = \"requests.cpu\"\n\t// Memory request, in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024)\n\tResourceRequestsMemory ResourceName = \"requests.memory\"\n\t// Storage request, in bytes\n\tResourceRequestsStorage ResourceName = \"requests.storage\"\n\t// CPU limit, in cores. (500m = .5 cores)\n\tResourceLimitsCPU ResourceName = \"limits.cpu\"\n\t// Memory limit, in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024)\n\tResourceLimitsMemory ResourceName = \"limits.memory\"\n)\n```\nThe following identify resource constants for Kubernetes object types\n\n```go\nfunc (self ResourceName) String() string\n```\n\n```go\ntype ResourceQuota struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Spec defines the desired quota\n\t// +optional\n\tSpec ResourceQuotaSpec\n\n\t// Status defines the actual enforced quota and its current usage\n\t// +optional\n\tStatus ResourceQuotaStatus\n}\n```\nResourceQuota sets aggregate quota restrictions enforced per namespace\n\n```go\ntype ResourceQuotaList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\t// Items is a list of ResourceQuota objects\n\tItems []ResourceQuota\n}\n```\nResourceQuotaList is a list of ResourceQuota items\n\n```go\ntype ResourceQuotaScope string\n```\nA ResourceQuotaScope defines a filter that must match each object tracked by a quota\n\n```go\nconst (\n\t// Match all pod objects where spec.activeDeadlineSeconds\n\tResourceQuotaScopeTerminating ResourceQuotaScope = \"Terminating\"\n\t// Match all pod objects where !spec.activeDeadlineSeconds\n\tResourceQuotaScopeNotTerminating ResourceQuotaScope = \"NotTerminating\"\n\t// Match all pod objects that have best effort quality of service\n\tResourceQuotaScopeBestEffort ResourceQuotaScope = \"BestEffort\"\n\t// Match all pod objects that do not have best effort quality of service\n\tResourceQuotaScopeNotBestEffort ResourceQuotaScope = \"NotBestEffort\"\n)\n```\n\n```go\ntype ResourceQuotaSpec struct {\n\t// Hard is the set of desired hard limits for each named resource\n\t// +optional\n\tHard ResourceList\n\t// A collection of filters that must match each object tracked by a quota.\n\t// If not specified, the quota matches all objects.\n\t// +optional\n\tScopes []ResourceQuotaScope\n}\n```\nResourceQuotaSpec defines the desired hard limits to enforce for Quota\n\n```go\ntype ResourceQuotaStatus struct {\n\t// Hard is the set of enforced hard limits for each named resource\n\t// +optional\n\tHard ResourceList\n\t// Used is the current observed total usage of the resource in the namespace\n\t// +optional\n\tUsed ResourceList\n}\n```\nResourceQuotaStatus defines the enforced hard limits and observed use\n\n```go\ntype ResourceRequirements struct {\n\t// Limits describes the maximum amount of compute resources allowed.\n\t// +optional\n\tLimits ResourceList\n\t// Requests describes the minimum amount of compute resources required.\n\t// If Request is omitted for a container, it defaults to Limits if that is explicitly specified,\n\t// otherwise to an implementation-defined value\n\t// +optional\n\tRequests ResourceList\n}\n```\nResourceRequirements describes the compute resource requirements.\n\n```go\ntype RestartPolicy string\n```\nRestartPolicy describes how the container should be restarted. Only one of the following restart policies may be specified. If none of the following policies is specified, the default one is RestartPolicyAlways.\n\n```go\nconst (\n\tRestartPolicyAlways    RestartPolicy = \"Always\"\n\tRestartPolicyOnFailure RestartPolicy = \"OnFailure\"\n\tRestartPolicyNever     RestartPolicy = \"Never\"\n)\n```\n\n```go\ntype SELinuxOptions struct {\n\t// SELinux user label\n\t// +optional\n\tUser string\n\t// SELinux role label\n\t// +optional\n\tRole string\n\t// SELinux type label\n\t// +optional\n\tType string\n\t// SELinux level label.\n\t// +optional\n\tLevel string\n}\n```\nSELinuxOptions are the labels to be applied to the container.\n\n```go\ntype ScaleIOVolumeSource struct {\n\t// The host address of the ScaleIO API Gateway.\n\tGateway string\n\t// The name of the storage system as configured in ScaleIO.\n\tSystem string\n\t// SecretRef references to the secret for ScaleIO user and other\n\t// sensitive information. If this is not provided, Login operation will fail.\n\tSecretRef *LocalObjectReference\n\t// Flag to enable/disable SSL communication with Gateway, default false\n\t// +optional\n\tSSLEnabled bool\n\t// The name of the Protection Domain for the configured storage (defaults to \"default\").\n\t// +optional\n\tProtectionDomain string\n\t// The Storage Pool associated with the protection domain (defaults to \"default\").\n\t// +optional\n\tStoragePool string\n\t// Indicates whether the storage for a volume should be thick or thin (defaults to \"thin\").\n\t// +optional\n\tStorageMode string\n\t// The name of a volume already created in the ScaleIO system\n\t// that is associated with this volume source.\n\tVolumeName string\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\t// +optional\n\tFSType string\n\t// Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n}\n```\nScaleIOVolumeSource represents a persistent ScaleIO volume\n\n```go\ntype Secret struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Data contains the secret data. Each key must consist of alphanumeric\n\t// characters, '-', '_' or '.'. The serialized form of the secret data is a\n\t// base64 encoded string, representing the arbitrary (possibly non-string)\n\t// data value here.\n\t// +optional\n\tData map[string][]byte\n\n\t// Used to facilitate programmatic handling of secret data.\n\t// +optional\n\tType SecretType\n}\n```\nSecret holds secret data of a certain type.  The total bytes of the values in the Data field must be less than MaxSecretSize bytes.\n\n```go\ntype SecretEnvSource struct {\n\t// The Secret to select from.\n\tLocalObjectReference\n\t// Specify whether the Secret must be defined\n\t// +optional\n\tOptional *bool\n}\n```\nSecretEnvSource 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.\n\n```go\ntype SecretKeySelector struct {\n\t// The name of the secret in the pod's namespace to select from.\n\tLocalObjectReference\n\t// The key of the secret to select from.  Must be a valid secret key.\n\tKey string\n\t// Specify whether the Secret or it's key must be defined\n\t// +optional\n\tOptional *bool\n}\n```\nSecretKeySelector selects a key of a Secret.\n\n```go\ntype SecretList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\tItems []Secret\n}\n```\n\n```go\ntype SecretProjection struct {\n\tLocalObjectReference\n\t// If unspecified, each key-value pair in the Data field of the referenced\n\t// Secret will be projected into the volume as a file whose name is the\n\t// key and content is the value. If specified, the listed keys will be\n\t// projected into the specified paths, and unlisted keys will not be\n\t// present. If a key is specified which is not present in the Secret,\n\t// the volume setup will error unless it is marked optional. Paths must be\n\t// relative and may not contain the '..' path or start with '..'.\n\t// +optional\n\tItems []KeyToPath\n\t// Specify whether the Secret or its key must be defined\n\t// +optional\n\tOptional *bool\n}\n```\nAdapts 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.\n\n```go\ntype SecretType string\n```\n\n```go\ntype SecretVolumeSource struct {\n\t// Name of the secret in the pod's namespace to use.\n\t// +optional\n\tSecretName string\n\t// If unspecified, each key-value pair in the Data field of the referenced\n\t// Secret will be projected into the volume as a file whose name is the\n\t// key and content is the value. If specified, the listed keys will be\n\t// projected into the specified paths, and unlisted keys will not be\n\t// present. If a key is specified which is not present in the Secret,\n\t// the volume setup will error unless it is marked optional. Paths must be\n\t// relative and may not contain the '..' path or start with '..'.\n\t// +optional\n\tItems []KeyToPath\n\t// Mode bits to use on created files by default. Must be a value between\n\t// 0 and 0777.\n\t// Directories within the path are not affected by this setting.\n\t// This might be in conflict with other options that affect the file\n\t// mode, like fsGroup, and the result can be other mode bits set.\n\t// +optional\n\tDefaultMode *int32\n\t// Specify whether the Secret or its key must be defined\n\t// +optional\n\tOptional *bool\n}\n```\nAdapts 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.\n\n```go\ntype SecurityContext struct {\n\t// The capabilities to add/drop when running containers.\n\t// Defaults to the default set of capabilities granted by the container runtime.\n\t// +optional\n\tCapabilities *Capabilities\n\t// Run container in privileged mode.\n\t// Processes in privileged containers are essentially equivalent to root on the host.\n\t// Defaults to false.\n\t// +optional\n\tPrivileged *bool\n\t// The SELinux context to be applied to the container.\n\t// If unspecified, the container runtime will allocate a random SELinux context for each\n\t// container.  May also be set in PodSecurityContext.  If set in both SecurityContext and\n\t// PodSecurityContext, the value specified in SecurityContext takes precedence.\n\t// +optional\n\tSELinuxOptions *SELinuxOptions\n\t// The UID to run the entrypoint of the container process.\n\t// Defaults to user specified in image metadata if unspecified.\n\t// May also be set in PodSecurityContext.  If set in both SecurityContext and\n\t// PodSecurityContext, the value specified in SecurityContext takes precedence.\n\t// +optional\n\tRunAsUser *int64\n\t// Indicates that the container must run as a non-root user.\n\t// If true, the Kubelet will validate the image at runtime to ensure that it\n\t// does not run as UID 0 (root) and fail to start the container if it does.\n\t// If unset or false, no such validation will be performed.\n\t// May also be set in PodSecurityContext.  If set in both SecurityContext and\n\t// PodSecurityContext, the value specified in SecurityContext takes precedence.\n\t// +optional\n\tRunAsNonRoot *bool\n\t// The read-only root filesystem allows you to restrict the locations that an application can write\n\t// files to, ensuring the persistent data can only be written to mounts.\n\t// +optional\n\tReadOnlyRootFilesystem *bool\n}\n```\nSecurityContext 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.\n\n```go\ntype SerializedReference struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tReference ObjectReference\n}\n```\n\n```go\ntype Service struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Spec defines the behavior of a service.\n\t// +optional\n\tSpec ServiceSpec\n\n\t// Status represents the current status of a service.\n\t// +optional\n\tStatus ServiceStatus\n}\n```\nService 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.\n\n```go\ntype ServiceAccount struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ObjectMeta\n\n\t// Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount\n\tSecrets []ObjectReference\n\n\t// ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images\n\t// in pods that reference this ServiceAccount.  ImagePullSecrets are distinct from Secrets because Secrets\n\t// can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.\n\t// +optional\n\tImagePullSecrets []LocalObjectReference\n\n\t// AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.\n\t// Can be overridden at the pod level.\n\t// +optional\n\tAutomountServiceAccountToken *bool\n}\n```\nServiceAccount 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\n\n```go\ntype ServiceAccountList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\tItems []ServiceAccount\n}\n```\nServiceAccountList is a list of ServiceAccount objects\n\n```go\ntype ServiceAffinity string\n```\nSession Affinity Type string\n\n```go\nconst (\n\t// ServiceAffinityClientIP is the Client IP based.\n\tServiceAffinityClientIP ServiceAffinity = \"ClientIP\"\n\n\t// ServiceAffinityNone - no session affinity.\n\tServiceAffinityNone ServiceAffinity = \"None\"\n)\n```\n\n```go\ntype ServiceExternalTrafficPolicyType string\n```\nService External Traffic Policy Type string\n\n```go\nconst (\n\t// ServiceExternalTrafficPolicyTypeLocal specifies node-local endpoints behavior.\n\tServiceExternalTrafficPolicyTypeLocal ServiceExternalTrafficPolicyType = \"Local\"\n\t// ServiceExternalTrafficPolicyTypeCluster specifies cluster-wide (legacy) behavior.\n\tServiceExternalTrafficPolicyTypeCluster ServiceExternalTrafficPolicyType = \"Cluster\"\n)\n```\n\n```go\ntype ServiceList struct {\n\tmetav1.TypeMeta\n\t// +optional\n\tmetav1.ListMeta\n\n\tItems []Service\n}\n```\nServiceList holds a list of services.\n\n```go\ntype ServicePort struct {\n\t// Optional if only one ServicePort is defined on this service: The\n\t// name of this port within the service.  This must be a DNS_LABEL.\n\t// All ports within a ServiceSpec must have unique names.  This maps to\n\t// the 'Name' field in EndpointPort objects.\n\tName string\n\n\t// The IP protocol for this port.  Supports \"TCP\" and \"UDP\".\n\tProtocol Protocol\n\n\t// The port that will be exposed on the service.\n\tPort int32\n\n\t// Optional: The target port on pods selected by this service.  If this\n\t// is a string, it will be looked up as a named port in the target\n\t// Pod's container ports.  If this is not specified, the value\n\t// of the 'port' field is used (an identity map).\n\t// This field is ignored for services with clusterIP=None, and should be\n\t// omitted or set equal to the 'port' field.\n\tTargetPort intstr.IntOrString\n\n\t// The port on each node on which this service is exposed.\n\t// Default is to auto-allocate a port if the ServiceType of this Service requires one.\n\tNodePort int32\n}\n```\n\n```go\ntype ServiceProxyOptions struct {\n\tmetav1.TypeMeta\n\n\t// Path is the part of URLs that include service endpoints, suffixes,\n\t// and parameters to use for the current proxy request to service.\n\t// For example, the whole request URL is\n\t// http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy.\n\t// Path is _search?q=user:kimchy.\n\tPath string\n}\n```\nServiceProxyOptions is the query options to a Service's proxy call.\n\n```go\ntype ServiceSpec struct {\n\t// Type determines how the Service is exposed. Defaults to ClusterIP. Valid\n\t// options are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\t// \"ExternalName\" maps to the specified externalName.\n\t// \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to\n\t// endpoints. Endpoints are determined by the selector or if that is not\n\t// specified, by manual construction of an Endpoints object. If clusterIP is\n\t// \"None\", no virtual IP is allocated and the endpoints are published as a\n\t// set of endpoints rather than a stable IP.\n\t// \"NodePort\" builds on ClusterIP and allocates a port on every node which\n\t// routes to the clusterIP.\n\t// \"LoadBalancer\" builds on NodePort and creates an\n\t// external load-balancer (if supported in the current cloud) which routes\n\t// to the clusterIP.\n\t// More info: https://kubernetes.io/docs/concepts/services-networking/service/\n\t// +optional\n\tType ServiceType\n\n\t// Required: The list of ports that are exposed by this service.\n\tPorts []ServicePort\n\n\t// Route service traffic to pods with label keys and values matching this\n\t// selector. If empty or not present, the service is assumed to have an\n\t// external process managing its endpoints, which Kubernetes will not\n\t// modify. Only applies to types ClusterIP, NodePort, and LoadBalancer.\n\t// Ignored if type is ExternalName.\n\t// More info: https://kubernetes.io/docs/concepts/services-networking/service/\n\tSelector map[string]string\n\n\t// ClusterIP is the IP address of the service and is usually assigned\n\t// randomly by the master. If an address is specified manually and is not in\n\t// use by others, it will be allocated to the service; otherwise, creation\n\t// of the service will fail. This field can not be changed through updates.\n\t// Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\"\n\t// can be specified for headless services when proxying is not required.\n\t// Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if\n\t// type is ExternalName.\n\t// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies\n\t// +optional\n\tClusterIP string\n\n\t// ExternalName is the external reference that kubedns or equivalent will\n\t// return as a CNAME record for this service. No proxying will be involved.\n\t// Must be a valid DNS name and requires Type to be ExternalName.\n\tExternalName string\n\n\t// ExternalIPs are used by external load balancers, or can be set by\n\t// users to handle external traffic that arrives at a node.\n\t// +optional\n\tExternalIPs []string\n\n\t// Only applies to Service Type: LoadBalancer\n\t// LoadBalancer will get created with the IP specified in this field.\n\t// This feature depends on whether the underlying cloud-provider supports specifying\n\t// the loadBalancerIP when a load balancer is created.\n\t// This field will be ignored if the cloud-provider does not support the feature.\n\t// +optional\n\tLoadBalancerIP string\n\n\t// Optional: Supports \"ClientIP\" and \"None\".  Used to maintain session affinity.\n\t// +optional\n\tSessionAffinity ServiceAffinity\n\n\t// Optional: If specified and supported by the platform, this will restrict traffic through the cloud-provider\n\t// load-balancer will be restricted to the specified client IPs. This field will be ignored if the\n\t// cloud-provider does not support the feature.\"\n\t// +optional\n\tLoadBalancerSourceRanges []string\n\n\t// externalTrafficPolicy denotes if this Service desires to route external\n\t// traffic to node-local or cluster-wide endpoints. \"Local\" preserves the\n\t// client source IP and avoids a second hop for LoadBalancer and Nodeport\n\t// type services, but risks potentially imbalanced traffic spreading.\n\t// \"Cluster\" obscures the client source IP and may cause a second hop to\n\t// another node, but should have good overall load-spreading.\n\t// +optional\n\tExternalTrafficPolicy ServiceExternalTrafficPolicyType\n\n\t// healthCheckNodePort specifies the healthcheck nodePort for the service.\n\t// If not specified, HealthCheckNodePort is created by the service api\n\t// backend with the allocated nodePort. Will use user-specified nodePort value\n\t// if specified by the client. Only effects when Type is set to LoadBalancer\n\t// and ExternalTrafficPolicy is set to Local.\n\t// +optional\n\tHealthCheckNodePort int32\n}\n```\nServiceSpec describes the attributes that a user creates on a service\n\n```go\ntype ServiceStatus struct {\n\t// LoadBalancer contains the current status of the load-balancer,\n\t// if one is present.\n\t// +optional\n\tLoadBalancer LoadBalancerStatus\n}\n```\nServiceStatus represents the current status of a service\n\n```go\ntype ServiceType string\n```\nService Type string describes ingress methods for a service\n\n```go\nconst (\n\t// ServiceTypeClusterIP means a service will only be accessible inside the\n\t// cluster, via the ClusterIP.\n\tServiceTypeClusterIP ServiceType = \"ClusterIP\"\n\n\t// ServiceTypeNodePort means a service will be exposed on one port of\n\t// every node, in addition to 'ClusterIP' type.\n\tServiceTypeNodePort ServiceType = \"NodePort\"\n\n\t// ServiceTypeLoadBalancer means a service will be exposed via an\n\t// external load balancer (if the cloud provider supports it), in addition\n\t// to 'NodePort' type.\n\tServiceTypeLoadBalancer ServiceType = \"LoadBalancer\"\n\n\t// ServiceTypeExternalName means a service consists of only a reference to\n\t// an external name that kubedns or equivalent will return as a CNAME\n\t// record, with no exposing or proxying of any pods involved.\n\tServiceTypeExternalName ServiceType = \"ExternalName\"\n)\n```\n\n```go\ntype StorageMedium string\n```\nStorageMedium defines ways that storage can be allocated to a volume.\n\n```go\nconst (\n\tStorageMediumDefault StorageMedium = \"\"       // use whatever the default is for the node\n\tStorageMediumMemory  StorageMedium = \"Memory\" // use memory (tmpfs)\n)\n```\n\n```go\ntype StorageOSPersistentVolumeSource struct {\n\t// VolumeName is the human-readable name of the StorageOS volume.  Volume\n\t// names are only unique within a namespace.\n\tVolumeName string\n\t// VolumeNamespace specifies the scope of the volume within StorageOS.  If no\n\t// namespace is specified then the Pod's namespace will be used.  This allows the\n\t// Kubernetes name scoping to be mirrored within StorageOS for tighter integration.\n\t// Set VolumeName to any name to override the default behaviour.\n\t// Set to \"default\" if you are not using namespaces within StorageOS.\n\t// Namespaces that do not pre-exist within StorageOS will be created.\n\t// +optional\n\tVolumeNamespace string\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\t// +optional\n\tFSType string\n\t// Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n\t// SecretRef specifies the secret to use for obtaining the StorageOS API\n\t// credentials.  If not specified, default values will be attempted.\n\t// +optional\n\tSecretRef *ObjectReference\n}\n```\nRepresents a StorageOS persistent volume resource.\n\n```go\ntype StorageOSVolumeSource struct {\n\t// VolumeName is the human-readable name of the StorageOS volume.  Volume\n\t// names are only unique within a namespace.\n\tVolumeName string\n\t// VolumeNamespace specifies the scope of the volume within StorageOS.  If no\n\t// namespace is specified then the Pod's namespace will be used.  This allows the\n\t// Kubernetes name scoping to be mirrored within StorageOS for tighter integration.\n\t// Set VolumeName to any name to override the default behaviour.\n\t// Set to \"default\" if you are not using namespaces within StorageOS.\n\t// Namespaces that do not pre-exist within StorageOS will be created.\n\t// +optional\n\tVolumeNamespace string\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\t// +optional\n\tFSType string\n\t// Defaults to false (read/write). ReadOnly here will force\n\t// the ReadOnly setting in VolumeMounts.\n\t// +optional\n\tReadOnly bool\n\t// SecretRef specifies the secret to use for obtaining the StorageOS API\n\t// credentials.  If not specified, default values will be attempted.\n\t// +optional\n\tSecretRef *LocalObjectReference\n}\n```\nRepresents a StorageOS persistent volume resource.\n\n```go\ntype Sysctl struct {\n\t// Name of a property to set\n\tName string\n\t// Value of a property to set\n\tValue string\n}\n```\nSysctl defines a kernel parameter to be set\n\n```go\ntype TCPSocketAction struct {\n\t// Required: Port to connect to.\n\t// +optional\n\tPort intstr.IntOrString\n\t// Optional: Host name to connect to, defaults to the pod IP.\n\t// +optional\n\tHost string\n}\n```\nTCPSocketAction describes an action based on opening a socket\n\n```go\ntype Taint struct {\n\t// Required. The taint key to be applied to a node.\n\tKey string\n\t// Required. The taint value corresponding to the taint key.\n\t// +optional\n\tValue string\n\t// Required. The effect of the taint on pods\n\t// that do not tolerate the taint.\n\t// Valid effects are NoSchedule, PreferNoSchedule and NoExecute.\n\tEffect TaintEffect\n\t// TimeAdded represents the time at which the taint was added.\n\t// It is only written for NoExecute taints.\n\t// +optional\n\tTimeAdded metav1.Time\n}\n```\nThe node this Taint is attached to has the effect \"effect\" on any pod that that does not tolerate the Taint.\n\n```go\nfunc (t *Taint) MatchTaint(taintToMatch Taint) bool\n```\nMatchTaint checks if the taint matches taintToMatch. Taints are unique by key:effect, if the two taints have same key:effect, regard as they match.\n\n```go\nfunc (t *Taint) ToString() string\n```\ntaint.ToString() converts taint struct to string in format key=value:effect or key:effect.\n\n```go\ntype TaintEffect string\n```\n\n```go\nconst (\n\t// Do not allow new pods to schedule onto the node unless they tolerate the taint,\n\t// but allow all pods submitted to Kubelet without going through the scheduler\n\t// to start, and allow all already-running pods to continue running.\n\t// Enforced by the scheduler.\n\tTaintEffectNoSchedule TaintEffect = \"NoSchedule\"\n\t// Like TaintEffectNoSchedule, but the scheduler tries not to schedule\n\t// new pods onto the node, rather than prohibiting new pods from scheduling\n\t// onto the node entirely. Enforced by the scheduler.\n\tTaintEffectPreferNoSchedule TaintEffect = \"PreferNoSchedule\"\n\t// NOT YET IMPLEMENTED. TODO: Uncomment field once it is implemented.\n\t// Like TaintEffectNoSchedule, but additionally do not allow pods submitted to\n\t// Kubelet without going through the scheduler to start.\n\t// Enforced by Kubelet and the scheduler.\n\t// TaintEffectNoScheduleNoAdmit TaintEffect = \"NoScheduleNoAdmit\"\n\t// Evict any already-running pods that do not tolerate the taint.\n\t// Currently enforced by NodeController.\n\tTaintEffectNoExecute TaintEffect = \"NoExecute\"\n)\n```\n\n```go\ntype TerminationMessagePolicy string\n```\nTerminationMessagePolicy describes how termination messages are retrieved from a container.\n\n```go\nconst (\n\t// TerminationMessageReadFile is the default behavior and will set the container status message to\n\t// the contents of the container's terminationMessagePath when the container exits.\n\tTerminationMessageReadFile TerminationMessagePolicy = \"File\"\n\t// TerminationMessageFallbackToLogsOnError will read the most recent contents of the container logs\n\t// for the container status message when the container exits with an error and the\n\t// terminationMessagePath has no contents.\n\tTerminationMessageFallbackToLogsOnError TerminationMessagePolicy = \"FallbackToLogsOnError\"\n)\n```\n\n```go\ntype Toleration struct {\n\t// Key is the taint key that the toleration applies to. Empty means match all taint keys.\n\t// If the key is empty, operator must be Exists; this combination means to match all values and all keys.\n\t// +optional\n\tKey string\n\t// Operator represents a key's relationship to the value.\n\t// Valid operators are Exists and Equal. Defaults to Equal.\n\t// Exists is equivalent to wildcard for value, so that a pod can\n\t// tolerate all taints of a particular category.\n\t// +optional\n\tOperator TolerationOperator\n\t// Value is the taint value the toleration matches to.\n\t// If the operator is Exists, the value should be empty, otherwise just a regular string.\n\t// +optional\n\tValue string\n\t// Effect indicates the taint effect to match. Empty means match all taint effects.\n\t// When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.\n\t// +optional\n\tEffect TaintEffect\n\t// TolerationSeconds represents the period of time the toleration (which must be\n\t// of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\n\t// it is not set, which means tolerate the taint forever (do not evict). Zero and\n\t// negative values will be treated as 0 (evict immediately) by the system.\n\t// +optional\n\tTolerationSeconds *int64\n}\n```\nThe pod this Toleration is attached to tolerates any taint that matches the triple \\\u003ckey,value,effect\u003e using the matching operator \\\u003coperator\u003e.\n\n```go\nfunc (t *Toleration) MatchToleration(tolerationToMatch *Toleration) bool\n```\nMatchToleration checks if the toleration matches tolerationToMatch. Tolerations are unique by \\\u003ckey,effect,operator,value\u003e, if the two tolerations have same \\\u003ckey,effect,operator,value\u003e combination, regard as they match. TODO: uniqueness check for tolerations in api validations.\n\n```go\ntype TolerationOperator string\n```\nA toleration operator is the set of operators that can be used in a toleration.\n\n```go\nconst (\n\tTolerationOpExists TolerationOperator = \"Exists\"\n\tTolerationOpEqual  TolerationOperator = \"Equal\"\n)\n```\n\n```go\ntype URIScheme string\n```\nURIScheme identifies the scheme used for connection to a host for Get actions\n\n```go\nconst (\n\t// URISchemeHTTP means that the scheme used will be http://\n\tURISchemeHTTP URIScheme = \"HTTP\"\n\t// URISchemeHTTPS means that the scheme used will be https://\n\tURISchemeHTTPS URIScheme = \"HTTPS\"\n)\n```\n\n```go\ntype UniqueVolumeName string\n```\n\n```go\ntype Volume struct {\n\t// Required: This must be a DNS_LABEL.  Each volume in a pod must have\n\t// a unique name.\n\tName string\n\t// The VolumeSource represents the location and type of a volume to mount.\n\t// This is optional for now. If not specified, the Volume is implied to be an EmptyDir.\n\t// This implied behavior is deprecated and will be removed in a future version.\n\t// +optional\n\tVolumeSource\n}\n```\nVolume represents a named volume in a pod that may be accessed by any containers in the pod.\n\n```go\ntype VolumeMount struct {\n\t// Required: This must match the Name of a Volume [above].\n\tName string\n\t// Optional: Defaults to false (read-write).\n\t// +optional\n\tReadOnly bool\n\t// Required. Must not contain ':'.\n\tMountPath string\n\t// Path within the volume from which the container's volume should be mounted.\n\t// Defaults to \"\" (volume's root).\n\t// +optional\n\tSubPath string\n}\n```\nVolumeMount describes a mounting of a Volume within a container.\n\n```go\ntype VolumeProjection struct {\n\n\t// information about the secret data to project\n\tSecret *SecretProjection\n\t// information about the downwardAPI data to project\n\tDownwardAPI *DownwardAPIProjection\n\t// information about the configMap data to project\n\tConfigMap *ConfigMapProjection\n}\n```\nProjection that may be projected along with other supported volume types\n\n```go\ntype VolumeSource struct {\n\t// HostPath represents file or directory on the host machine that is\n\t// directly exposed to the container. This is generally used for system\n\t// agents or other privileged things that are allowed to see the host\n\t// machine. Most containers will NOT need this.\n\t// ---\n\t// TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not\n\t// mount host directories as read/write.\n\t// +optional\n\tHostPath *HostPathVolumeSource\n\t// EmptyDir represents a temporary directory that shares a pod's lifetime.\n\t// +optional\n\tEmptyDir *EmptyDirVolumeSource\n\t// GCEPersistentDisk represents a GCE Disk resource that is attached to a\n\t// kubelet's host machine and then exposed to the pod.\n\t// +optional\n\tGCEPersistentDisk *GCEPersistentDiskVolumeSource\n\t// AWSElasticBlockStore represents an AWS EBS disk that is attached to a\n\t// kubelet's host machine and then exposed to the pod.\n\t// +optional\n\tAWSElasticBlockStore *AWSElasticBlockStoreVolumeSource\n\t// GitRepo represents a git repository at a particular revision.\n\t// +optional\n\tGitRepo *GitRepoVolumeSource\n\t// Secret represents a secret that should populate this volume.\n\t// +optional\n\tSecret *SecretVolumeSource\n\t// NFS represents an NFS mount on the host that shares a pod's lifetime\n\t// +optional\n\tNFS *NFSVolumeSource\n\t// ISCSIVolumeSource represents an ISCSI Disk resource that is attached to a\n\t// kubelet's host machine and then exposed to the pod.\n\t// +optional\n\tISCSI *ISCSIVolumeSource\n\t// Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime\n\t// +optional\n\tGlusterfs *GlusterfsVolumeSource\n\t// PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace\n\t// +optional\n\tPersistentVolumeClaim *PersistentVolumeClaimVolumeSource\n\t// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime\n\t// +optional\n\tRBD *RBDVolumeSource\n\n\t// Quobyte represents a Quobyte mount on the host that shares a pod's lifetime\n\t// +optional\n\tQuobyte *QuobyteVolumeSource\n\n\t// FlexVolume represents a generic volume resource that is\n\t// provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.\n\t// +optional\n\tFlexVolume *FlexVolumeSource\n\n\t// Cinder represents a cinder volume attached and mounted on kubelets host machine\n\t// +optional\n\tCinder *CinderVolumeSource\n\n\t// CephFS represents a Cephfs mount on the host that shares a pod's lifetime\n\t// +optional\n\tCephFS *CephFSVolumeSource\n\n\t// Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running\n\t// +optional\n\tFlocker *FlockerVolumeSource\n\n\t// DownwardAPI represents metadata about the pod that should populate this volume\n\t// +optional\n\tDownwardAPI *DownwardAPIVolumeSource\n\t// FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.\n\t// +optional\n\tFC *FCVolumeSource\n\t// AzureFile represents an Azure File Service mount on the host and bind mount to the pod.\n\t// +optional\n\tAzureFile *AzureFileVolumeSource\n\t// ConfigMap represents a configMap that should populate this volume\n\t// +optional\n\tConfigMap *ConfigMapVolumeSource\n\t// VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine\n\t// +optional\n\tVsphereVolume *VsphereVirtualDiskVolumeSource\n\t// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.\n\t// +optional\n\tAzureDisk *AzureDiskVolumeSource\n\t// PhotonPersistentDisk represents a Photon Controller persistent disk attached and mounted on kubelets host machine\n\tPhotonPersistentDisk *PhotonPersistentDiskVolumeSource\n\t// Items for all in one resources secrets, configmaps, and downward API\n\tProjected *ProjectedVolumeSource\n\t// PortworxVolume represents a portworx volume attached and mounted on kubelets host machine\n\t// +optional\n\tPortworxVolume *PortworxVolumeSource\n\t// ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.\n\t// +optional\n\tScaleIO *ScaleIOVolumeSource\n\t// StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod\n\t// +optional\n\tStorageOS *StorageOSVolumeSource\n}\n```\nVolumeSource represents the source location of a volume to mount. Only one of its members may be specified.\n\n```go\ntype VsphereVirtualDiskVolumeSource struct {\n\t// Path that identifies vSphere volume vmdk\n\tVolumePath string\n\t// Filesystem type to mount.\n\t// Must be a filesystem type supported by the host operating system.\n\t// Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n\t// +optional\n\tFSType string\n\t// Storage Policy Based Management (SPBM) profile name.\n\t// +optional\n\tStoragePolicyName string\n\t// Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.\n\t// +optional\n\tStoragePolicyID string\n}\n```\nRepresents a vSphere volume resource.\n\n```go\ntype WeightedPodAffinityTerm struct {\n\t// weight associated with matching the corresponding podAffinityTerm,\n\t// in the range 1-100.\n\tWeight int32\n\t// Required. A pod affinity term, associated with the corresponding weight.\n\tPodAffinityTerm PodAffinityTerm\n}\n```\nThe weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)\n\n","path":"github.com/unitytech/client-go/pkg/api","name":"api","synopsis":"Package api contains the latest (or \"internal\") version of the Kubernetes API objects.","isRedistributable":true}
