import "k8s.io/api/core/v1"
Package v1 is the v1 version of the core API.
annotation_key_constants.go doc.go generated.pb.go objectreference.go register.go resource.go taint.go toleration.go types.go types_swagger_doc_generated.go well_known_labels.go well_known_taints.go zz_generated.deepcopy.go
const ( // ImagePolicyFailedOpenKey is added to pods created by failing open when the image policy // webhook backend fails. ImagePolicyFailedOpenKey string = "alpha.image-policy.k8s.io/failed-open" // PodPresetOptOutAnnotationKey represents the annotation key for a pod to exempt itself from pod preset manipulation PodPresetOptOutAnnotationKey string = "podpreset.admission.kubernetes.io/exclude" // MirrorAnnotationKey represents the annotation key set by kubelets when creating mirror pods MirrorPodAnnotationKey string = "kubernetes.io/config.mirror" // TolerationsAnnotationKey represents the key of tolerations data (json serialized) // in the Annotations of a Pod. TolerationsAnnotationKey string = "scheduler.alpha.kubernetes.io/tolerations" // TaintsAnnotationKey represents the key of taints data (json serialized) // in the Annotations of a Node. TaintsAnnotationKey string = "scheduler.alpha.kubernetes.io/taints" // SeccompPodAnnotationKey represents the key of a seccomp profile applied // to all containers of a pod. SeccompPodAnnotationKey string = "seccomp.security.alpha.kubernetes.io/pod" // SeccompContainerAnnotationKeyPrefix represents the key of a seccomp profile applied // to one container of a pod. SeccompContainerAnnotationKeyPrefix string = "container.seccomp.security.alpha.kubernetes.io/" // SeccompProfileRuntimeDefault represents the default seccomp profile used by container runtime. SeccompProfileRuntimeDefault string = "runtime/default" // DeprecatedSeccompProfileDockerDefault represents the default seccomp profile used by docker. // This is now deprecated and should be replaced by SeccompProfileRuntimeDefault. DeprecatedSeccompProfileDockerDefault string = "docker/default" // PreferAvoidPodsAnnotationKey represents the key of preferAvoidPods data (json serialized) // in the Annotations of a Node. PreferAvoidPodsAnnotationKey string = "scheduler.alpha.kubernetes.io/preferAvoidPods" // ObjectTTLAnnotations represents a suggestion for kubelet for how long it can cache // an object (e.g. secret, config map) before fetching it again from apiserver. // This annotation can be attached to node. ObjectTTLAnnotationKey string = "node.alpha.kubernetes.io/ttl" // annotation key prefix used to identify non-convertible json paths. NonConvertibleAnnotationPrefix = "non-convertible.kubernetes.io" // LastAppliedConfigAnnotation is the annotation used to store the previous // configuration of a resource for use in a three way diff by UpdateApplyAnnotation. LastAppliedConfigAnnotation = kubectlPrefix + "last-applied-configuration" // AnnotationLoadBalancerSourceRangesKey is the key of the annotation on a service to set allowed ingress ranges on their LoadBalancers // // It should be a comma-separated list of CIDRs, e.g. `0.0.0.0/0` to // allow full access (the default) or `18.0.0.0/8,56.0.0.0/8` to allow // access only from the CIDRs currently allocated to MIT & the USPS. // // Not all cloud providers support this annotation, though AWS & GCE do. AnnotationLoadBalancerSourceRangesKey = "service.beta.kubernetes.io/load-balancer-source-ranges" // EndpointsLastChangeTriggerTime is the annotation key, set for endpoints objects, that // represents the timestamp (stored as RFC 3339 date-time string, e.g. '2018-10-22T19:32:52.1Z') // of the last change, of some Pod or Service object, that triggered the endpoints object change. // In other words, if a Pod / Service changed at time T0, that change was observed by endpoints // controller at T1, and the Endpoints object was changed at T2, the // EndpointsLastChangeTriggerTime would be set to T0. // // The "endpoints change trigger" here means any Pod or Service change that resulted in the // Endpoints object change. // // Given the definition of the "endpoints change trigger", please note that this annotation will // be set ONLY for endpoints object changes triggered by either Pod or Service change. If the // Endpoints object changes due to other reasons, this annotation won't be set (or updated if it's // already set). // // This annotation will be used to compute the in-cluster network programming latency SLI, see // https://github.com/kubernetes/community/blob/master/sig-scalability/slos/network_programming_latency.md EndpointsLastChangeTriggerTime = "endpoints.kubernetes.io/last-change-trigger-time" // MigratedPluginsAnnotationKey is the annotation key, set for CSINode objects, that is a comma-separated // list of in-tree plugins that will be serviced by the CSI backend on the Node represented by CSINode. // This annotation is used by the Attach Detach Controller to determine whether to use the in-tree or // CSI Backend for a volume plugin on a specific node. MigratedPluginsAnnotationKey = "storage.alpha.kubernetes.io/migrated-plugins" )
const ( // NamespaceDefault means the object is in the default namespace which is applied when not specified by clients NamespaceDefault string = "default" // NamespaceAll is the default argument to specify on a context when you want to list or filter resources across all namespaces NamespaceAll string = "" // NamespaceNodeLease is the namespace where we place node lease objects (used for node heartbeats) NamespaceNodeLease string = "kube-node-lease" // TopologyKeyAny is the service topology key that matches any node TopologyKeyAny string = "*" )
const ( // BetaStorageClassAnnotation represents the beta/previous StorageClass annotation. // It's currently still used and will be held for backwards compatibility BetaStorageClassAnnotation = "volume.beta.kubernetes.io/storage-class" // MountOptionAnnotation defines mount option annotation used in PVs MountOptionAnnotation = "volume.beta.kubernetes.io/mount-options" )
const ( AzureDataDiskCachingNone AzureDataDiskCachingMode = "None" AzureDataDiskCachingReadOnly AzureDataDiskCachingMode = "ReadOnly" AzureDataDiskCachingReadWrite AzureDataDiskCachingMode = "ReadWrite" AzureDataDiskKind = "Shared" AzureDedicatedBlobDisk AzureDataDiskKind = "Dedicated" AzureManagedDisk AzureDataDiskKind = "Managed" )
const ( // Default namespace prefix. ResourceDefaultNamespacePrefix = "kubernetes.io/" // Name prefix for huge page resources (alpha). ResourceHugePagesPrefix = "hugepages-" // Name prefix for storage resource limits ResourceAttachableVolumesPrefix = "attachable-volumes-" )
const ( // Information only and will not cause any problems EventTypeNormal string = "Normal" // These events are to warn that something might go wrong EventTypeWarning string = "Warning" )
Valid values for event types (new types could be added in future)
const ( // HugePages request, in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024) // As burst is not supported for HugePages, we would only quota its request, and ignore the limit. ResourceRequestsHugePagesPrefix = "requests.hugepages-" // Default resource requests prefix DefaultResourceRequestsPrefix = "requests." )
The following identify resource prefix for Kubernetes object types
const ( // SecretTypeOpaque is the default. Arbitrary user-defined data SecretTypeOpaque SecretType = "Opaque" // SecretTypeServiceAccountToken contains a token that identifies a service account to the API // // Required fields: // - Secret.Annotations["kubernetes.io/service-account.name"] - the name of the ServiceAccount the token identifies // - Secret.Annotations["kubernetes.io/service-account.uid"] - the UID of the ServiceAccount the token identifies // - Secret.Data["token"] - a token that identifies the service account to the API SecretTypeServiceAccountToken SecretType = "kubernetes.io/service-account-token" // ServiceAccountNameKey is the key of the required annotation for SecretTypeServiceAccountToken secrets ServiceAccountNameKey = "kubernetes.io/service-account.name" // ServiceAccountUIDKey is the key of the required annotation for SecretTypeServiceAccountToken secrets ServiceAccountUIDKey = "kubernetes.io/service-account.uid" // ServiceAccountTokenKey is the key of the required data for SecretTypeServiceAccountToken secrets ServiceAccountTokenKey = "token" // ServiceAccountKubeconfigKey is the key of the optional kubeconfig data for SecretTypeServiceAccountToken secrets ServiceAccountKubeconfigKey = "kubernetes.kubeconfig" // ServiceAccountRootCAKey is the key of the optional root certificate authority for SecretTypeServiceAccountToken secrets ServiceAccountRootCAKey = "ca.crt" // ServiceAccountNamespaceKey is the key of the optional namespace to use as the default for namespaced API calls ServiceAccountNamespaceKey = "namespace" // SecretTypeDockercfg contains a dockercfg file that follows the same format rules as ~/.dockercfg // // Required fields: // - Secret.Data[".dockercfg"] - a serialized ~/.dockercfg file SecretTypeDockercfg SecretType = "kubernetes.io/dockercfg" // DockerConfigKey is the key of the required data for SecretTypeDockercfg secrets DockerConfigKey = ".dockercfg" // SecretTypeDockerConfigJson contains a dockercfg file that follows the same format rules as ~/.docker/config.json // // Required fields: // - Secret.Data[".dockerconfigjson"] - a serialized ~/.docker/config.json file SecretTypeDockerConfigJson SecretType = "kubernetes.io/dockerconfigjson" // DockerConfigJsonKey is the key of the required data for SecretTypeDockerConfigJson secrets DockerConfigJsonKey = ".dockerconfigjson" // SecretTypeBasicAuth contains data needed for basic authentication. // // Required at least one of fields: // - Secret.Data["username"] - username used for authentication // - Secret.Data["password"] - password or token needed for authentication SecretTypeBasicAuth SecretType = "kubernetes.io/basic-auth" // BasicAuthUsernameKey is the key of the username for SecretTypeBasicAuth secrets BasicAuthUsernameKey = "username" // BasicAuthPasswordKey is the key of the password or token for SecretTypeBasicAuth secrets BasicAuthPasswordKey = "password" // SecretTypeSSHAuth contains data needed for SSH authetication. // // Required field: // - Secret.Data["ssh-privatekey"] - private SSH key needed for authentication SecretTypeSSHAuth SecretType = "kubernetes.io/ssh-auth" // SSHAuthPrivateKey is the key of the required SSH private key for SecretTypeSSHAuth secrets SSHAuthPrivateKey = "ssh-privatekey" // SecretTypeTLS contains information about a TLS client or server secret. It // is primarily used with TLS termination of the Ingress resource, but may be // used in other types. // // Required fields: // - Secret.Data["tls.key"] - TLS private key. // Secret.Data["tls.crt"] - TLS certificate. // TODO: Consider supporting different formats, specifying CA/destinationCA. SecretTypeTLS SecretType = "kubernetes.io/tls" // TLSCertKey is the key for tls certificates in a TLS secert. TLSCertKey = "tls.crt" // TLSPrivateKeyKey is the key for the private key field in a TLS secret. TLSPrivateKeyKey = "tls.key" // SecretTypeBootstrapToken is used during the automated bootstrap process (first // implemented by kubeadm). It stores tokens that are used to sign well known // ConfigMaps. They are used for authn. SecretTypeBootstrapToken SecretType = "bootstrap.kubernetes.io/token" )
const ( // "default-scheduler" is the name of default scheduler. DefaultSchedulerName = "default-scheduler" // RequiredDuringScheduling affinity is not symmetric, but there is an implicit PreferredDuringScheduling affinity rule // corresponding to every RequiredDuringScheduling affinity rule. // When the --hard-pod-affinity-weight scheduler flag is not specified, // DefaultHardPodAffinityWeight defines the weight of the implicit PreferredDuringScheduling affinity rule. DefaultHardPodAffinitySymmetricWeight int32 = 1 )
const ( // Enable stdin for remote command execution ExecStdinParam = "input" // Enable stdout for remote command execution ExecStdoutParam = "output" // Enable stderr for remote command execution ExecStderrParam = "error" // Enable TTY for remote command execution ExecTTYParam = "tty" // Command to run for remote command execution ExecCommandParam = "command" // Name of header that specifies stream type StreamType = "streamType" // Value for streamType header for stdin stream StreamTypeStdin = "stdin" // Value for streamType header for stdout stream StreamTypeStdout = "stdout" // Value for streamType header for stderr stream StreamTypeStderr = "stderr" // Value for streamType header for data stream StreamTypeData = "data" // Value for streamType header for error stream StreamTypeError = "error" // Value for streamType header for terminal resize stream StreamTypeResize = "resize" // Name of header that specifies the port being forwarded PortHeader = "port" // Name of header that specifies a request ID used to associate the error // and data streams for a single forwarded connection PortForwardRequestIDHeader = "requestID" )
const ( LabelHostname = "kubernetes.io/hostname" LabelZoneFailureDomain = "failure-domain.beta.kubernetes.io/zone" LabelZoneRegion = "failure-domain.beta.kubernetes.io/region" LabelZoneFailureDomainStable = "topology.kubernetes.io/zone" LabelZoneRegionStable = "topology.kubernetes.io/region" LabelInstanceType = "beta.kubernetes.io/instance-type" LabelInstanceTypeStable = "node.kubernetes.io/instance-type" LabelOSStable = "kubernetes.io/os" LabelArchStable = "kubernetes.io/arch" // LabelWindowsBuild is used on Windows nodes to specify the Windows build number starting with v1.17.0. // It's in the format MajorVersion.MinorVersion.BuildNumber (for ex: 10.0.17763) LabelWindowsBuild = "node.kubernetes.io/windows-build" // LabelNamespaceSuffixKubelet is an allowed label namespace suffix kubelets can self-set ([*.]kubelet.kubernetes.io/*) LabelNamespaceSuffixKubelet = "kubelet.kubernetes.io" // LabelNamespaceSuffixNode is an allowed label namespace suffix kubelets can self-set ([*.]node.kubernetes.io/*) LabelNamespaceSuffixNode = "node.kubernetes.io" // LabelNamespaceNodeRestriction is a forbidden label namespace that kubelets may not self-set when the NodeRestriction admission plugin is enabled LabelNamespaceNodeRestriction = "node-restriction.kubernetes.io" // IsHeadlessService is added by Controller to an Endpoint denoting if its parent // Service is Headless. The existence of this label can be used further by other // controllers and kube-proxy to check if the Endpoint objects should be replicated when // using Headless Services IsHeadlessService = "service.kubernetes.io/headless" )
const ( // TaintNodeNotReady will be added when node is not ready // and feature-gate for TaintBasedEvictions flag is enabled, // and removed when node becomes ready. TaintNodeNotReady = "node.kubernetes.io/not-ready" // TaintNodeUnreachable will be added when node becomes unreachable // (corresponding to NodeReady status ConditionUnknown) // and feature-gate for TaintBasedEvictions flag is enabled, // and removed when node becomes reachable (NodeReady status ConditionTrue). TaintNodeUnreachable = "node.kubernetes.io/unreachable" // TaintNodeUnschedulable will be added when node becomes unschedulable // and feature-gate for TaintNodesByCondition flag is enabled, // and removed when node becomes scheduable. TaintNodeUnschedulable = "node.kubernetes.io/unschedulable" // TaintNodeMemoryPressure will be added when node has memory pressure // and feature-gate for TaintNodesByCondition flag is enabled, // and removed when node has enough memory. TaintNodeMemoryPressure = "node.kubernetes.io/memory-pressure" // TaintNodeDiskPressure will be added when node has disk pressure // and feature-gate for TaintNodesByCondition flag is enabled, // and removed when node has enough disk. TaintNodeDiskPressure = "node.kubernetes.io/disk-pressure" // TaintNodeNetworkUnavailable will be added when node's network is unavailable // and feature-gate for TaintNodesByCondition flag is enabled, // and removed when network becomes ready. = "node.kubernetes.io/network-unavailable" // TaintNodePIDPressure will be added when node has pid pressure // and feature-gate for TaintNodesByCondition flag is enabled, // and removed when node has enough disk. TaintNodePIDPressure = "node.kubernetes.io/pid-pressure" )
const ( // ClusterIPNone - do not assign a cluster IP // no proxying required and no environment variables should be created for pods ClusterIPNone = "None" )
const ( // DefaultTerminationGracePeriodSeconds indicates the default duration in // seconds a pod needs to terminate gracefully. DefaultTerminationGracePeriodSeconds = 30 )
const GroupName = ""
GroupName is the group name use in this package
const MaxSecretSize = 1 * 1024 * 1024
const ( // NamespaceTerminatingCause is returned as a defaults.cause item when a change is // forbidden due to the namespace being terminated. NamespaceTerminatingCause metav1.CauseType = "NamespaceTerminating" )
const ( // PodReasonUnschedulable reason in PodScheduled PodCondition means that the scheduler // can't schedule the pod right now, for example due to insufficient resources in the cluster. PodReasonUnschedulable = "Unschedulable" )
These are reasons for a pod's transition to a condition.
const ( // TerminationMessagePathDefault means the default path to capture the application termination message running in a container TerminationMessagePathDefault string = "/dev/termination-log" )
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
var ( // We only register manually written functions here. The registration of the // generated functions takes place in the generated files. The separation // makes the code compile even when the generated files are missing. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
type AWSElasticBlockStoreVolumeSource struct { // Unique ID of the persistent disk resource in AWS (Amazon EBS volume). // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore VolumeID string `json:"volumeID" protobuf:"bytes,1,opt,name=volumeID"` // Filesystem type of the volume that you want to mount. // Tip: Ensure that the filesystem type is supported by the host operating system. // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore // TODO: how do we prevent errors in the filesystem from compromising the machine // +optional FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"` // The partition in the volume that you want to mount. // If omitted, the default is to mount by volume name. // Examples: For volume /dev/sda1, you specify the partition as "1". // Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). // +optional Partition int32 `json:"partition,omitempty" protobuf:"varint,3,opt,name=partition"` // Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". // If omitted, the default is "false". // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,4,opt,name=readOnly"` }
Represents a Persistent Disk resource in AWS.
An 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.
func (in *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource.
func (in *AWSElasticBlockStoreVolumeSource) DeepCopyInto(out *AWSElasticBlockStoreVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int)
func (m *AWSElasticBlockStoreVolumeSource) Marshal() (dAtA []byte, err error)
func (m *AWSElasticBlockStoreVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (m *AWSElasticBlockStoreVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AWSElasticBlockStoreVolumeSource) ProtoMessage()
func (m *AWSElasticBlockStoreVolumeSource) Reset()
func (m *AWSElasticBlockStoreVolumeSource) Size() (n int)
func (this *AWSElasticBlockStoreVolumeSource) String() string
func (AWSElasticBlockStoreVolumeSource) SwaggerDoc() map[string]string
func (m *AWSElasticBlockStoreVolumeSource) Unmarshal(dAtA []byte) error
func (m *AWSElasticBlockStoreVolumeSource) XXX_DiscardUnknown()
func (m *AWSElasticBlockStoreVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *AWSElasticBlockStoreVolumeSource) XXX_Merge(src proto.Message)
func (m *AWSElasticBlockStoreVolumeSource) XXX_Size() int
func (m *AWSElasticBlockStoreVolumeSource) XXX_Unmarshal(b []byte) error
type Affinity struct { // Describes node affinity scheduling rules for the pod. // +optional NodeAffinity *NodeAffinity `json:"nodeAffinity,omitempty" protobuf:"bytes,1,opt,name=nodeAffinity"` // Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). // +optional PodAffinity *PodAffinity `json:"podAffinity,omitempty" protobuf:"bytes,2,opt,name=podAffinity"` // Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). // +optional PodAntiAffinity *PodAntiAffinity `json:"podAntiAffinity,omitempty" protobuf:"bytes,3,opt,name=podAntiAffinity"` }
Affinity is a group of affinity scheduling rules.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Affinity.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AttachedVolume struct { // Name of the attached volume Name UniqueVolumeName `json:"name" protobuf:"bytes,1,rep,name=name"` // DevicePath represents the device path where the volume should be available DevicePath string `json:"devicePath" protobuf:"bytes,2,rep,name=devicePath"` }
AttachedVolume describes a volume attached to a node
func (in *AttachedVolume) DeepCopy() *AttachedVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedVolume.
func (in *AttachedVolume) DeepCopyInto(out *AttachedVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AttachedVolume) Descriptor() ([]byte, []int)
func (m *AttachedVolume) Marshal() (dAtA []byte, err error)
func (m *AttachedVolume) MarshalTo(dAtA []byte) (int, error)
func (m *AttachedVolume) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AttachedVolume) ProtoMessage()
func (m *AttachedVolume) Reset()
func (m *AttachedVolume) Size() (n int)
func (this *AttachedVolume) String() string
func (AttachedVolume) SwaggerDoc() map[string]string
func (m *AttachedVolume) Unmarshal(dAtA []byte) error
func (m *AttachedVolume) XXX_DiscardUnknown()
func (m *AttachedVolume) XXX_Merge(src proto.Message)
func (m *AttachedVolume) XXX_Size() int
func (m *AttachedVolume) XXX_Unmarshal(b []byte) error
type AvoidPods struct { // Bounded-sized list of signatures of pods that should avoid this node, sorted // in timestamp order from oldest to newest. Size of the slice is unspecified. // +optional PreferAvoidPods []PreferAvoidPodsEntry `json:"preferAvoidPods,omitempty" protobuf:"bytes,1,rep,name=preferAvoidPods"` }
AvoidPods describes pods that should avoid this node. This is the value for a Node annotation with key scheduler.alpha.kubernetes.io/preferAvoidPods and will eventually become a field of NodeStatus.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvoidPods.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureDiskVolumeSource struct { // The Name of the data disk in the blob storage DiskName string `json:"diskName" protobuf:"bytes,1,opt,name=diskName"` // The URI the data disk in the blob storage DataDiskURI string `json:"diskURI" protobuf:"bytes,2,opt,name=diskURI"` // Host Caching mode: None, Read Only, Read Write. // +optional CachingMode *AzureDataDiskCachingMode `json:"cachingMode,omitempty" protobuf:"bytes,3,opt,name=cachingMode,casttype=AzureDataDiskCachingMode"` // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // +optional FSType *string `json:"fsType,omitempty" protobuf:"bytes,4,opt,name=fsType"` // Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. // +optional ReadOnly *bool `json:"readOnly,omitempty" protobuf:"varint,5,opt,name=readOnly"` // Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared Kind *AzureDataDiskKind `json:"kind,omitempty" protobuf:"bytes,6,opt,name=kind,casttype=AzureDataDiskKind"` }
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
func (in *AzureDiskVolumeSource) DeepCopy() *AzureDiskVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDiskVolumeSource.
func (in *AzureDiskVolumeSource) DeepCopyInto(out *AzureDiskVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int)
func (m *AzureDiskVolumeSource) Marshal() (dAtA []byte, err error)
func (m *AzureDiskVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (m *AzureDiskVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AzureDiskVolumeSource) ProtoMessage()
func (m *AzureDiskVolumeSource) Reset()
func (m *AzureDiskVolumeSource) Size() (n int)
func (this *AzureDiskVolumeSource) String() string
func (AzureDiskVolumeSource) SwaggerDoc() map[string]string
func (m *AzureDiskVolumeSource) Unmarshal(dAtA []byte) error
func (m *AzureDiskVolumeSource) XXX_DiscardUnknown()
func (m *AzureDiskVolumeSource) XXX_Merge(src proto.Message)
func (m *AzureDiskVolumeSource) XXX_Size() int
func (m *AzureDiskVolumeSource) XXX_Unmarshal(b []byte) error
type AzureFilePersistentVolumeSource struct { // the name of secret that contains Azure Storage Account Name and Key SecretName string `json:"secretName" protobuf:"bytes,1,opt,name=secretName"` // Share Name string `json:"shareName" protobuf:"bytes,2,opt,name=shareName"` // Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"` // the namespace of the secret that contains Azure Storage Account Name and Key // default is the same as the Pod // +optional SecretNamespace *string `json:"secretNamespace" protobuf:"bytes,4,opt,name=secretNamespace"` }
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
func (in *AzureFilePersistentVolumeSource) DeepCopy() *AzureFilePersistentVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilePersistentVolumeSource.
func (in *AzureFilePersistentVolumeSource) DeepCopyInto(out *AzureFilePersistentVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int)
func (m *AzureFilePersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (m *AzureFilePersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (m *AzureFilePersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AzureFilePersistentVolumeSource) ProtoMessage()
func (m *AzureFilePersistentVolumeSource) Reset()
func (m *AzureFilePersistentVolumeSource) Size() (n int)
func (this *AzureFilePersistentVolumeSource) String() string
func (AzureFilePersistentVolumeSource) SwaggerDoc() map[string]string
func (m *AzureFilePersistentVolumeSource) Unmarshal(dAtA []byte) error
func (m *AzureFilePersistentVolumeSource) XXX_DiscardUnknown()
func (m *AzureFilePersistentVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *AzureFilePersistentVolumeSource) XXX_Merge(src proto.Message)
func (m *AzureFilePersistentVolumeSource) XXX_Size() int
func (m *AzureFilePersistentVolumeSource) XXX_Unmarshal(b []byte) error
type AzureFileVolumeSource struct { // the name of secret that contains Azure Storage Account Name and Key SecretName string `json:"secretName" protobuf:"bytes,1,opt,name=secretName"` // Share Name string `json:"shareName" protobuf:"bytes,2,opt,name=shareName"` // Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"` }
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
func (in *AzureFileVolumeSource) DeepCopy() *AzureFileVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFileVolumeSource.
func (in *AzureFileVolumeSource) DeepCopyInto(out *AzureFileVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureFileVolumeSource) Descriptor() ([]byte, []int)
func (m *AzureFileVolumeSource) Marshal() (dAtA []byte, err error)
func (m *AzureFileVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (m *AzureFileVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AzureFileVolumeSource) ProtoMessage()
func (m *AzureFileVolumeSource) Reset()
func (m *AzureFileVolumeSource) Size() (n int)
func (this *AzureFileVolumeSource) String() string
func (AzureFileVolumeSource) SwaggerDoc() map[string]string
func (m *AzureFileVolumeSource) Unmarshal(dAtA []byte) error
func (m *AzureFileVolumeSource) XXX_DiscardUnknown()
func (m *AzureFileVolumeSource) XXX_Merge(src proto.Message)
func (m *AzureFileVolumeSource) XXX_Size() int
func (m *AzureFileVolumeSource) XXX_Unmarshal(b []byte) error
type Binding struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // The target object that you want to bind to the standard object. Target ObjectReference `json:"target" protobuf:"bytes,2,opt,name=target"` }
Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CSIPersistentVolumeSource struct { // Driver is the name of the driver to use for this volume. // Required. Driver string `json:"driver" protobuf:"bytes,1,opt,name=driver"` // VolumeHandle is the unique volume name returned by the CSI volume // plugin’s CreateVolume to refer to the volume on all subsequent calls. // Required. VolumeHandle string `json:"volumeHandle" protobuf:"bytes,2,opt,name=volumeHandle"` // Optional: The value to pass to ControllerPublishVolumeRequest. // Defaults to false (read/write). // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"` // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Ex. "ext4", "xfs", "ntfs". // +optional FSType string `json:"fsType,omitempty" protobuf:"bytes,4,opt,name=fsType"` // Attributes of the volume to publish. // +optional VolumeAttributes map[string]string `json:"volumeAttributes,omitempty" protobuf:"bytes,5,rep,name=volumeAttributes"` // ControllerPublishSecretRef is a reference to the secret object containing // sensitive information to pass to the CSI driver to complete the CSI // ControllerPublishVolume and ControllerUnpublishVolume calls. // This field is optional, and may be empty if no secret is required. If the // secret object contains more than one secret, all secrets are passed. // +optional ControllerPublishSecretRef *SecretReference `json:"controllerPublishSecretRef,omitempty" protobuf:"bytes,6,opt,name=controllerPublishSecretRef"` // NodeStageSecretRef is a reference to the secret object containing sensitive // information to pass to the CSI driver to complete the CSI NodeStageVolume // and NodeStageVolume and NodeUnstageVolume calls. // This field is optional, and may be empty if no secret is required. If the // secret object contains more than one secret, all secrets are passed. // +optional NodeStageSecretRef *SecretReference `json:"nodeStageSecretRef,omitempty" protobuf:"bytes,7,opt,name=nodeStageSecretRef"` // NodePublishSecretRef is a reference to the secret object containing // sensitive information to pass to the CSI driver to complete the CSI // NodePublishVolume and NodeUnpublishVolume calls. // This field is optional, and may be empty if no secret is required. If the // secret object contains more than one secret, all secrets are passed. // +optional NodePublishSecretRef *SecretReference `json:"nodePublishSecretRef,omitempty" protobuf:"bytes,8,opt,name=nodePublishSecretRef"` // ControllerExpandSecretRef is a reference to the secret object containing // sensitive information to pass to the CSI driver to complete the CSI // ControllerExpandVolume call. // This is an alpha field and requires enabling ExpandCSIVolumes feature gate. // This field is optional, and may be empty if no secret is required. If the // secret object contains more than one secret, all secrets are passed. // +optional ControllerExpandSecretRef *SecretReference `json:"controllerExpandSecretRef,omitempty" protobuf:"bytes,9,opt,name=controllerExpandSecretRef"` }
Represents storage that is managed by an external CSI volume driver (Beta feature)
func (in *CSIPersistentVolumeSource) DeepCopy() *CSIPersistentVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIPersistentVolumeSource.
func (in *CSIPersistentVolumeSource) DeepCopyInto(out *CSIPersistentVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CSIPersistentVolumeSource) Descriptor() ([]byte, []int)
func (m *CSIPersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (m *CSIPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (m *CSIPersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CSIPersistentVolumeSource) ProtoMessage()
func (m *CSIPersistentVolumeSource) Reset()
func (m *CSIPersistentVolumeSource) Size() (n int)
func (this *CSIPersistentVolumeSource) String() string
func (CSIPersistentVolumeSource) SwaggerDoc() map[string]string
func (m *CSIPersistentVolumeSource) Unmarshal(dAtA []byte) error
func (m *CSIPersistentVolumeSource) XXX_DiscardUnknown()
func (m *CSIPersistentVolumeSource) XXX_Merge(src proto.Message)
func (m *CSIPersistentVolumeSource) XXX_Size() int
func (m *CSIPersistentVolumeSource) XXX_Unmarshal(b []byte) error
type CSIVolumeSource struct { // Driver is the name of the CSI driver that handles this volume. // Consult with your admin for the correct name as registered in the cluster. Driver string `json:"driver" protobuf:"bytes,1,opt,name=driver"` // Specifies a read-only configuration for the volume. // Defaults to false (read/write). // +optional ReadOnly *bool `json:"readOnly,omitempty" protobuf:"varint,2,opt,name=readOnly"` // Filesystem type to mount. Ex. "ext4", "xfs", "ntfs". // If not provided, the empty value is passed to the associated CSI driver // which will determine the default filesystem to apply. // +optional FSType *string `json:"fsType,omitempty" protobuf:"bytes,3,opt,name=fsType"` // VolumeAttributes stores driver-specific properties that are passed to the CSI // driver. Consult your driver's documentation for supported values. // +optional VolumeAttributes map[string]string `json:"volumeAttributes,omitempty" protobuf:"bytes,4,rep,name=volumeAttributes"` // NodePublishSecretRef is a reference to the secret object containing // sensitive information to pass to the CSI driver to complete the CSI // NodePublishVolume and NodeUnpublishVolume calls. // This field is optional, and may be empty if no secret is required. If the // secret object contains more than one secret, all secret references are passed. // +optional NodePublishSecretRef *LocalObjectReference `json:"nodePublishSecretRef,omitempty" protobuf:"bytes,5,opt,name=nodePublishSecretRef"` }
Represents a source location of a volume to mount, managed by an external CSI driver
func (in *CSIVolumeSource) DeepCopy() *CSIVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIVolumeSource.
func (in *CSIVolumeSource) DeepCopyInto(out *CSIVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CSIVolumeSource) Descriptor() ([]byte, []int)
func (m *CSIVolumeSource) Marshal() (dAtA []byte, err error)
func (m *CSIVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (m *CSIVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CSIVolumeSource) ProtoMessage()
func (m *CSIVolumeSource) Reset()
func (m *CSIVolumeSource) Size() (n int)
func (this *CSIVolumeSource) String() string
func (CSIVolumeSource) SwaggerDoc() map[string]string
func (m *CSIVolumeSource) Unmarshal(dAtA []byte) error
func (m *CSIVolumeSource) XXX_DiscardUnknown()
func (m *CSIVolumeSource) XXX_Merge(src proto.Message)
func (m *CSIVolumeSource) XXX_Size() int
func (m *CSIVolumeSource) XXX_Unmarshal(b []byte) error
type Capabilities struct { // Added capabilities // +optional Add []Capability `json:"add,omitempty" protobuf:"bytes,1,rep,name=add,casttype=Capability"` // Removed capabilities // +optional Drop []Capability `json:"drop,omitempty" protobuf:"bytes,2,rep,name=drop,casttype=Capability"` }
Adds and removes POSIX capabilities from running containers.
func (in *Capabilities) DeepCopy() *Capabilities
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities.
func (in *Capabilities) DeepCopyInto(out *Capabilities)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Capabilities) Descriptor() ([]byte, []int)
func (m *Capabilities) Marshal() (dAtA []byte, err error)
func (m *Capabilities) MarshalTo(dAtA []byte) (int, error)
func (m *Capabilities) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Capabilities) ProtoMessage()
func (m *Capabilities) Reset()
func (m *Capabilities) Size() (n int)
func (this *Capabilities) String() string
func (Capabilities) SwaggerDoc() map[string]string
func (m *Capabilities) Unmarshal(dAtA []byte) error
func (m *Capabilities) XXX_DiscardUnknown()
func (m *Capabilities) XXX_Merge(src proto.Message)
func (m *Capabilities) XXX_Size() int
func (m *Capabilities) XXX_Unmarshal(b []byte) error
Capability represent POSIX capabilities type
type CephFSPersistentVolumeSource struct { // Required: Monitors is a collection of Ceph monitors // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it Monitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"` // Optional: Used as the mounted root, rather than the full Ceph tree, default is / // +optional Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"` // Optional: User is the rados user name, default is admin // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it // +optional User string `json:"user,omitempty" protobuf:"bytes,3,opt,name=user"` // Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it // +optional SecretFile string `json:"secretFile,omitempty" protobuf:"bytes,4,opt,name=secretFile"` // Optional: SecretRef is reference to the authentication secret for User, default is empty. // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it // +optional SecretRef *SecretReference `json:"secretRef,omitempty" protobuf:"bytes,5,opt,name=secretRef"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,6,opt,name=readOnly"` }
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
func (in *CephFSPersistentVolumeSource) DeepCopy() *CephFSPersistentVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSPersistentVolumeSource.
func (in *CephFSPersistentVolumeSource) DeepCopyInto(out *CephFSPersistentVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephFSPersistentVolumeSource) Descriptor() ([]byte, []int)
func (m *CephFSPersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (m *CephFSPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (m *CephFSPersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CephFSPersistentVolumeSource) ProtoMessage()
func (m *CephFSPersistentVolumeSource) Reset()
func (m *CephFSPersistentVolumeSource) Size() (n int)
func (this *CephFSPersistentVolumeSource) String() string
func (CephFSPersistentVolumeSource) SwaggerDoc() map[string]string
func (m *CephFSPersistentVolumeSource) Unmarshal(dAtA []byte) error
func (m *CephFSPersistentVolumeSource) XXX_DiscardUnknown()
func (m *CephFSPersistentVolumeSource) XXX_Merge(src proto.Message)
func (m *CephFSPersistentVolumeSource) XXX_Size() int
func (m *CephFSPersistentVolumeSource) XXX_Unmarshal(b []byte) error
type CephFSVolumeSource struct { // Required: Monitors is a collection of Ceph monitors // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it Monitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"` // Optional: Used as the mounted root, rather than the full Ceph tree, default is / // +optional Path string `json:"path,omitempty" protobuf:"bytes,2,opt,name=path"` // Optional: User is the rados user name, default is admin // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it // +optional User string `json:"user,omitempty" protobuf:"bytes,3,opt,name=user"` // Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it // +optional SecretFile string `json:"secretFile,omitempty" protobuf:"bytes,4,opt,name=secretFile"` // Optional: SecretRef is reference to the authentication secret for User, default is empty. // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it // +optional SecretRef *LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,5,opt,name=secretRef"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,6,opt,name=readOnly"` }
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
func (in *CephFSVolumeSource) DeepCopy() *CephFSVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSVolumeSource.
func (in *CephFSVolumeSource) DeepCopyInto(out *CephFSVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephFSVolumeSource) Descriptor() ([]byte, []int)
func (m *CephFSVolumeSource) Marshal() (dAtA []byte, err error)
func (m *CephFSVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (m *CephFSVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CephFSVolumeSource) ProtoMessage()
func (m *CephFSVolumeSource) Reset()
func (m *CephFSVolumeSource) Size() (n int)
func (this *CephFSVolumeSource) String() string
func (CephFSVolumeSource) SwaggerDoc() map[string]string
func (m *CephFSVolumeSource) Unmarshal(dAtA []byte) error
func (m *CephFSVolumeSource) XXX_DiscardUnknown()
func (m *CephFSVolumeSource) XXX_Merge(src proto.Message)
func (m *CephFSVolumeSource) XXX_Size() int
func (m *CephFSVolumeSource) XXX_Unmarshal(b []byte) error
type CinderPersistentVolumeSource struct { // volume id used to identify the volume in cinder. // More info: https://examples.k8s.io/mysql-cinder-pd/README.md VolumeID string `json:"volumeID" protobuf:"bytes,1,opt,name=volumeID"` // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: https://examples.k8s.io/mysql-cinder-pd/README.md // +optional FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. // More info: https://examples.k8s.io/mysql-cinder-pd/README.md // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"` // Optional: points to a secret object containing parameters used to connect // to OpenStack. // +optional SecretRef *SecretReference `json:"secretRef,omitempty" protobuf:"bytes,4,opt,name=secretRef"` }
Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
func (in *CinderPersistentVolumeSource) DeepCopy() *CinderPersistentVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderPersistentVolumeSource.
func (in *CinderPersistentVolumeSource) DeepCopyInto(out *CinderPersistentVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CinderPersistentVolumeSource) Descriptor() ([]byte, []int)
func (m *CinderPersistentVolumeSource) Marshal() (dAtA []byte, err error)
func (m *CinderPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (m *CinderPersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CinderPersistentVolumeSource) ProtoMessage()
func (m *CinderPersistentVolumeSource) Reset()
func (m *CinderPersistentVolumeSource) Size() (n int)
func (this *CinderPersistentVolumeSource) String() string
func (CinderPersistentVolumeSource) SwaggerDoc() map[string]string
func (m *CinderPersistentVolumeSource) Unmarshal(dAtA []byte) error
func (m *CinderPersistentVolumeSource) XXX_DiscardUnknown()
func (m *CinderPersistentVolumeSource) XXX_Merge(src proto.Message)
func (m *CinderPersistentVolumeSource) XXX_Size() int
func (m *CinderPersistentVolumeSource) XXX_Unmarshal(b []byte) error
type CinderVolumeSource struct { // volume id used to identify the volume in cinder. // More info: https://examples.k8s.io/mysql-cinder-pd/README.md VolumeID string `json:"volumeID" protobuf:"bytes,1,opt,name=volumeID"` // Filesystem type to mount. // Must be a filesystem type supported by the host operating system. // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. // More info: https://examples.k8s.io/mysql-cinder-pd/README.md // +optional FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"` // Optional: Defaults to false (read/write). ReadOnly here will force // the ReadOnly setting in VolumeMounts. // More info: https://examples.k8s.io/mysql-cinder-pd/README.md // +optional ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"` // Optional: points to a secret object containing parameters used to connect // to OpenStack. // +optional SecretRef *LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,4,opt,name=secretRef"` }
Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
func (in *CinderVolumeSource) DeepCopy() *CinderVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderVolumeSource.
func (in *CinderVolumeSource) DeepCopyInto(out *CinderVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CinderVolumeSource) Descriptor() ([]byte, []int)
func (m *CinderVolumeSource) Marshal() (dAtA []byte, err error)
func (m *CinderVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (m *CinderVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CinderVolumeSource) ProtoMessage()
func (m *CinderVolumeSource) Reset()
func (m *CinderVolumeSource) Size() (n int)
func (this *CinderVolumeSource) String() string
func (CinderVolumeSource) SwaggerDoc() map[string]string
func (m *CinderVolumeSource) Unmarshal(dAtA []byte) error
func (m *CinderVolumeSource) XXX_DiscardUnknown()
func (m *CinderVolumeSource) XXX_Merge(src proto.Message)
func (m *CinderVolumeSource) XXX_Size() int
func (m *CinderVolumeSource) XXX_Unmarshal(b []byte) error
type ClientIPConfig struct { // timeoutSeconds specifies the seconds of ClientIP type session sticky time. // The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". // Default value is 10800(for 3 hours). // +optional TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty" protobuf:"varint,1,opt,name=timeoutSeconds"` }
ClientIPConfig represents the configurations of Client IP based session affinity.
func (in *ClientIPConfig) DeepCopy() *ClientIPConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientIPConfig.
func (in *ClientIPConfig) DeepCopyInto(out *ClientIPConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClientIPConfig) Descriptor() ([]byte, []int)
func (m *ClientIPConfig) Marshal() (dAtA []byte, err error)
func (m *ClientIPConfig) MarshalTo(dAtA []byte) (int, error)
func (m *ClientIPConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClientIPConfig) ProtoMessage()
func (m *ClientIPConfig) Reset()
func (m *ClientIPConfig) Size() (n int)
func (this *ClientIPConfig) String() string
func (ClientIPConfig) SwaggerDoc() map[string]string
func (m *ClientIPConfig) Unmarshal(dAtA []byte) error
func (m *ClientIPConfig) XXX_DiscardUnknown()
func (m *ClientIPConfig) XXX_Merge(src proto.Message)
func (m *ClientIPConfig) XXX_Size() int
func (m *ClientIPConfig) XXX_Unmarshal(b []byte) error
type ComponentCondition struct { // Type of condition for a component. // Valid value: "Healthy" Type ComponentConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ComponentConditionType"` // Status of the condition for a component. // Valid values for "Healthy": "True", "False", or "Unknown". Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"` // Message about the condition for a component. // For example, information about a health check. // +optional Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"` // Condition error code for a component. // For example, a health check error code. // +optional Error string `json:"error,omitempty" protobuf:"bytes,4,opt,name=error"` }
Information about the condition of a component.
func (in *ComponentCondition) DeepCopy() *ComponentCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition.
func (in *ComponentCondition) DeepCopyInto(out *ComponentCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentCondition) Descriptor() ([]byte, []int)
func (m *ComponentCondition) Marshal() (dAtA []byte, err error)
func (m *ComponentCondition) MarshalTo(dAtA []byte) (int, error)
func (m *ComponentCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ComponentCondition) ProtoMessage()
func (m *ComponentCondition) Reset()
func (m *ComponentCondition) Size() (n int)
func (this *ComponentCondition) String() string
func (ComponentCondition) SwaggerDoc() map[string]string
func (m *ComponentCondition) Unmarshal(dAtA []byte) error
func (m *ComponentCondition) XXX_DiscardUnknown()
func (m *ComponentCondition) XXX_Merge(src proto.Message)
func (m *ComponentCondition) XXX_Size() int
func (m *ComponentCondition) XXX_Unmarshal(b []byte) error
Type and constants for component health validation.
const ( ComponentHealthy ComponentConditionType = "Healthy" )
These are the valid conditions for the component.
type ComponentStatus struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of component conditions observed // +optional // +patchMergeKey=type // +patchStrategy=merge Conditions []ComponentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"` }
ComponentStatus (and ComponentStatusList) holds the cluster validation info.
func (in *ComponentStatus) DeepCopy() *ComponentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComponentStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ComponentStatus) Descriptor() ([]byte, []int)
func (m *ComponentStatus) Marshal() (dAtA []byte, err error)
func (m *ComponentStatus) MarshalTo(dAtA []byte) (int, error)
func (m *ComponentStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ComponentStatus) ProtoMessage()
func (m *ComponentStatus) Reset()
func (m *ComponentStatus) Size() (n int)
func (this *ComponentStatus) String() string
func (ComponentStatus) SwaggerDoc() map[string]string
func (m *ComponentStatus) Unmarshal(dAtA []byte) error
func (m *ComponentStatus) XXX_DiscardUnknown()
func (m *ComponentStatus) XXX_Merge(src proto.Message)
func (m *ComponentStatus) XXX_Size() int
func (m *ComponentStatus) XXX_Unmarshal(b []byte) error
type ComponentStatusList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of ComponentStatus objects. Items []ComponentStatus `json:"items" protobuf:"bytes,2,rep,name=items"` }
Status of all the conditions for the component as a list of ComponentStatus objects.
func (in *ComponentStatusList) DeepCopy() *ComponentStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList.
func (in *ComponentStatusList) DeepCopyInto(out *ComponentStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComponentStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ComponentStatusList) Descriptor() ([]byte, []int)
func (m *ComponentStatusList) Marshal() (dAtA []byte, err error)
func (m *ComponentStatusList) MarshalTo(dAtA []byte) (int, error)
func (m *ComponentStatusList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ComponentStatusList) ProtoMessage()
func (m *ComponentStatusList) Reset()
func (m *ComponentStatusList) Size() (n int)
func (this *ComponentStatusList) String() string
func (ComponentStatusList) SwaggerDoc() map[string]string
func (m *ComponentStatusList) Unmarshal(dAtA []byte) error
func (m *ComponentStatusList) XXX_DiscardUnknown()
func (m *ComponentStatusList) XXX_Merge(src proto.Message)
func (m *ComponentStatusList) XXX_Size() int
func (m *ComponentStatusList) XXX_Unmarshal(b []byte) error
const ( ConditionTrue ConditionStatus = "True" ConditionFalse ConditionStatus = "False" ConditionUnknown ConditionStatus = "Unknown" )
These 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.
type ConfigMap struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Data contains the configuration data. // Each key must consist of alphanumeric characters, '-', '_' or '.'. // Values with non-UTF-8 byte sequences must use the BinaryData field. // The keys stored in Data must not overlap with the keys in // the BinaryData field, this is enforced during validation process. // +optional Data map[string]string `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"` // BinaryData contains the binary data. // Each key must consist of alphanumeric characters, '-', '_' or '.'. // BinaryData can contain byte sequences that are not in the UTF-8 range. // The keys stored in BinaryData must not overlap with the ones in // the Data field, this is enforced during validation process. // Using this field will require 1.10+ apiserver and // kubelet. // +optional BinaryData map[string][]byte `json:"binaryData,omitempty" protobuf:"bytes,3,rep,name=binaryData"` }
ConfigMap holds configuration data for pods to consume.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigMapEnvSource struct { // The ConfigMap to select from. LocalObjectReference `json:",inline" protobuf:"bytes,1,opt,name=localObjectReference"` // Specify whether the ConfigMap must be defined // +optional Optional *bool `json:"optional,omitempty" protobuf:"varint,2,opt,name=optional"` }
ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.
The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
func (in *ConfigMapEnvSource) DeepCopy() *ConfigMapEnvSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapEnvSource.
func (in *ConfigMapEnvSource) DeepCopyInto(out *ConfigMapEnvSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigMapEnvSource) Descriptor() ([]byte, []int)
func (m *ConfigMapEnvSource) Marshal() (dAtA []byte, err error)
func (m *ConfigMapEnvSource) MarshalTo(dAtA []byte) (int, error)
func (m *ConfigMapEnvSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigMapEnvSource) ProtoMessage()
func (m *ConfigMapEnvSource) Reset()
func (m *ConfigMapEnvSource) Size() (n int)
func (this *ConfigMapEnvSource) String() string
func (ConfigMapEnvSource) SwaggerDoc() map[string]string
func (m *ConfigMapEnvSource) Unmarshal(dAtA []byte) error
func (m *ConfigMapEnvSource) XXX_DiscardUnknown()
func (m *ConfigMapEnvSource) XXX_Merge(src proto.Message)
func (m *ConfigMapEnvSource) XXX_Size() int
func (m *ConfigMapEnvSource) XXX_Unmarshal(b []byte) error
type ConfigMapKeySelector struct { // The ConfigMap to select from. LocalObjectReference `json:",inline" protobuf:"bytes,1,opt,name=localObjectReference"` // The key to select. Key string `json:"key" protobuf:"bytes,2,opt,name=key"` // Specify whether the ConfigMap or its key must be defined // +optional Optional *bool `json:"optional,omitempty" protobuf:"varint,3,opt,name=optional"` }
Selects a key from a ConfigMap.
func (in *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeySelector.
func (in *ConfigMapKeySelector) DeepCopyInto(out *ConfigMapKeySelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigMapKeySelector) Descriptor() ([]byte, []int)
func (m *ConfigMapKeySelector) Marshal() (dAtA []byte, err error)
func (m *ConfigMapKeySelector) MarshalTo(dAtA []byte) (int, error)
func (m *ConfigMapKeySelector) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigMapKeySelector) ProtoMessage()
func (m *ConfigMapKeySelector) Reset()
func (m *ConfigMapKeySelector) Size() (n int)
func (this *ConfigMapKeySelector) String() string
func (ConfigMapKeySelector) SwaggerDoc() map[string]string
func (m *ConfigMapKeySelector) Unmarshal(dAtA []byte) error
func (m *ConfigMapKeySelector) XXX_DiscardUnknown()
func (m *ConfigMapKeySelector) XXX_Merge(src proto.Message)
func (m *ConfigMapKeySelector) XXX_Size() int
func (m *ConfigMapKeySelector) XXX_Unmarshal(b []byte) error
type ConfigMapList struct { metav1.TypeMeta `json:",inline"` // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of ConfigMaps. Items []ConfigMap `json:"items" protobuf:"bytes,2,rep,name=items"` }
ConfigMapList is a resource containing a list of ConfigMap objects.
func (in *ConfigMapList) DeepCopy() *ConfigMapList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList.
func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ConfigMapList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigMapList) Descriptor() ([]byte, []int)
func (m *ConfigMapList) Marshal() (dAtA []byte, err error)
func (m *ConfigMapList) MarshalTo(dAtA []byte) (int, error)
func (m *ConfigMapList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigMapList) ProtoMessage()
func (m *ConfigMapList) Reset()
func (m *ConfigMapList) Size() (n int)
func (this *ConfigMapList) String() string
func (ConfigMapList) SwaggerDoc() map[string]string
func (m *ConfigMapList) Unmarshal(dAtA []byte) error
func (m *ConfigMapList) XXX_DiscardUnknown()
func (m *ConfigMapList) XXX_Merge(src proto.Message)
func (m *ConfigMapList) XXX_Size() int
func (m *ConfigMapList) XXX_Unmarshal(b []byte) error
type ConfigMapNodeConfigSource struct { // Namespace is the metadata.namespace of the referenced ConfigMap. // This field is required in all cases. Namespace string `json:"namespace" protobuf:"bytes,1,opt,name=namespace"` // Name is the metadata.name of the referenced ConfigMap. // This field is required in all cases. Name string `json:"name" protobuf:"bytes,2,opt,name=name"` // UID is the metadata.UID of the referenced ConfigMap. // This field is forbidden in Node.Spec, and required in Node.Status. // +optional UID types.UID `json:"uid,omitempty" protobuf:"bytes,3,opt,name=uid"` // ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. // This field is forbidden in Node.Spec, and required in Node.Status. // +optional ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,4,opt,name=resourceVersion"` // KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure // This field is required in all cases. KubeletConfigKey string `json:"kubeletConfigKey" protobuf:"bytes,5,opt,name=kubeletConfigKey"` }
ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.
func (in *ConfigMapNodeConfigSource) DeepCopy() *ConfigMapNodeConfigSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapNodeConfigSource.
func (in *ConfigMapNodeConfigSource) DeepCopyInto(out *ConfigMapNodeConfigSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigMapNodeConfigSource) Descriptor() ([]byte, []int)
func (m *ConfigMapNodeConfigSource) Marshal() (dAtA []byte, err error)
func (m *ConfigMapNodeConfigSource) MarshalTo(dAtA []byte) (int, error)
func (m *ConfigMapNodeConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigMapNodeConfigSource) ProtoMessage()
func (m *ConfigMapNodeConfigSource) Reset()
func (m *ConfigMapNodeConfigSource) Size() (n int)
func (this *ConfigMapNodeConfigSource) String() string
func (ConfigMapNodeConfigSource) SwaggerDoc() map[string]string
func (m *ConfigMapNodeConfigSource) Unmarshal(dAtA []byte) error
func (m *ConfigMapNodeConfigSource) XXX_DiscardUnknown()
func (m *ConfigMapNodeConfigSource) XXX_Merge(src proto.Message)
func (m *ConfigMapNodeConfigSource) XXX_Size() int
func (m *ConfigMapNodeConfigSource) XXX_Unmarshal(b []byte) error
type ConfigMapProjection struct { LocalObjectReference `json:",inline" protobuf:"bytes,1,opt,name=localObjectReference"` // If unspecified, each key-value pair in the Data field of the referenced // ConfigMap will be projected into the volume as a file whose name is the // key and content is the value. If specified, the listed keys will be // projected into the specified paths, and unlisted keys will not be // present. If a key is specified which is not present in the ConfigMap, // the volume setup will error unless it is marked optional. Paths must be // relative and may not contain the '..' path or start with '..'. // +optional Items []KeyToPath `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"` // Specify whether the ConfigMap or its keys must be defined // +optional Optional *bool `json:"optional,omitempty" protobuf:"varint,4,opt,name=optional"` }
Adapts a ConfigMap into a projected volume.
The 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.
func (in *ConfigMapProjection) DeepCopy() *ConfigMapProjection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapProjection.
func (in *ConfigMapProjection) DeepCopyInto(out *ConfigMapProjection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigMapProjection) Descriptor() ([]byte, []int)
func (m *ConfigMapProjection) Marshal() (dAtA []byte, err error)
func (m *ConfigMapProjection) MarshalTo(dAtA []byte) (int, error)
func (m *ConfigMapProjection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigMapProjection) ProtoMessage()
func (m *ConfigMapProjection) Reset()
func (m *ConfigMapProjection) Size() (n int)
func (this *ConfigMapProjection) String() string
func (ConfigMapProjection) SwaggerDoc() map[string]string
func (m *ConfigMapProjection) Unmarshal(dAtA []byte) error
func (m *ConfigMapProjection) XXX_DiscardUnknown()
func (m *ConfigMapProjection) XXX_Merge(src proto.Message)
func (m *ConfigMapProjection) XXX_Size() int
func (m *ConfigMapProjection) XXX_Unmarshal(b []byte) error
type ConfigMapVolumeSource struct { LocalObjectReference `json:",inline" protobuf:"bytes,1,opt,name=localObjectReference"` // If unspecified, each key-value pair in the Data field of the referenced // ConfigMap will be projected into the volume as a file whose name is the // key and content is the value. If specified, the listed keys will be // projected into the specified paths, and unlisted keys will not be // present. If a key is specified which is not present in the ConfigMap, // the volume setup will error unless it is marked optional. Paths must be // relative and may not contain the '..' path or start with '..'. // +optional Items []KeyToPath `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"` // Optional: mode bits to use on created files by default. Must be a // value between 0 and 0777. Defaults to 0644. // Directories within the path are not affected by this setting. // This might be in conflict with other options that affect the file // mode, like fsGroup, and the result can be other mode bits set. // +optional DefaultMode *int32 `json:"defaultMode,omitempty" protobuf:"varint,3,opt,name=defaultMode"` // Specify whether the ConfigMap or its keys must be defined // +optional Optional *bool `json:"optional,omitempty" protobuf:"varint,4,opt,name=optional"` }
Adapts a ConfigMap into a volume.
The 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.
func (in *ConfigMapVolumeSource) DeepCopy() *ConfigMapVolumeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapVolumeSource.
func (in *ConfigMapVolumeSource) DeepCopyInto(out *ConfigMapVolumeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int)
func (m *ConfigMapVolumeSource) Marshal() (dAtA []byte, err error)
func (m *ConfigMapVolumeSource) MarshalTo(dAtA []byte) (int, error)
func (m *ConfigMapVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigMapVolumeSource) ProtoMessage()
func (m *ConfigMapVolumeSource) Reset()
func (m *ConfigMapVolumeSource) Size() (n int)
func (this *ConfigMapVolumeSource) String() string
func (ConfigMapVolumeSource) SwaggerDoc() map[string]string
func (m *ConfigMapVolumeSource) Unmarshal(dAtA []byte) error
func (m *ConfigMapVolumeSource) XXX_DiscardUnknown()
func (m *ConfigMapVolumeSource) XXX_Merge(src proto.Message)
func (m *ConfigMapVolumeSource) XXX_Size() int
func (m *ConfigMapVolumeSource) XXX_Unmarshal(b []byte) error
type Container struct { // Name of the container specified as a DNS_LABEL. // Each container in a pod must have a unique name (DNS_LABEL). // Cannot be updated. Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Docker image name. // More info: https://kubernetes.io/docs/concepts/containers/images // This field is optional to allow higher level config management to default or override // container images in workload controllers like Deployments and StatefulSets. // +optional Image string `json:"image,omitempty" protobuf:"bytes,2,opt,name=image"` // Entrypoint array. Not executed within a shell. // The docker image's ENTRYPOINT is used if this is not provided. // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable // cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax // can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // regardless of whether the variable exists or not. // Cannot be updated. // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell // +optional Command []string `json:"command,omitempty" protobuf:"bytes,3,rep,name=command"` // Arguments to the entrypoint. // The docker image's CMD is used if this is not provided. // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable // cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax // can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // regardless of whether the variable exists or not. // Cannot be updated. // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell // +optional Args []string `json:"args,omitempty" protobuf:"bytes,4,rep,name=args"` // Container's working directory. // If not specified, the container runtime's default will be used, which // might be configured in the container image. // Cannot be updated. // +optional WorkingDir string `json:"workingDir,omitempty" protobuf:"bytes,5,opt,name=workingDir"` // List of ports to expose from the container. Exposing a port here gives // the system additional information about the network connections a // container uses, but is primarily informational. Not specifying a port here // DOES NOT prevent that port from being exposed. Any port which is // listening on the default "0.0.0.0" address inside a container will be // accessible from the network. // Cannot be updated. // +optional // +patchMergeKey=containerPort // +patchStrategy=merge // +listType=map // +listMapKey=containerPort // +listMapKey=protocol Ports []ContainerPort `json:"ports,omitempty" patchStrategy:"merge" patchMergeKey:"containerPort" protobuf:"bytes,6,rep,name=ports"` // List of sources to populate environment variables in the container. // The keys defined within a source must be a C_IDENTIFIER. All invalid keys // will be reported as an event when the container is starting. When a key exists in multiple // sources, the value associated with the last source will take precedence. // Values defined by an Env with a duplicate key will take precedence. // Cannot be updated. // +optional EnvFrom []EnvFromSource `json:"envFrom,omitempty" protobuf:"bytes,19,rep,name=envFrom"` // List of environment variables to set in the container. // Cannot be updated. // +optional // +patchMergeKey=name // +patchStrategy=merge Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,7,rep,name=env"` // Compute Resources required by this container. // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ // +optional Resources ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,8,opt,name=resources"` // Pod volumes to mount into the container's filesystem. // Cannot be updated. // +optional // +patchMergeKey=mountPath // +patchStrategy=merge VolumeMounts []VolumeMount `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"mountPath" protobuf:"bytes,9,rep,name=volumeMounts"` // volumeDevices is the list of block devices to be used by the container. // This is a beta feature. // +patchMergeKey=devicePath // +patchStrategy=merge // +optional VolumeDevices []VolumeDevice `json:"volumeDevices,omitempty" patchStrategy:"merge" patchMergeKey:"devicePath" protobuf:"bytes,21,rep,name=volumeDevices"` // Periodic probe of container liveness. // Container will be restarted if the probe fails. // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes // +optional LivenessProbe *Probe `json:"livenessProbe,omitempty" protobuf:"bytes,10,opt,name=livenessProbe"` // Periodic probe of container service readiness. // Container will be removed from service endpoints if the probe fails. // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes // +optional ReadinessProbe *Probe `json:"readinessProbe,omitempty" protobuf:"bytes,11,opt,name=readinessProbe"` // StartupProbe indicates that the Pod has successfully initialized. // If specified, no other probes are executed until this completes successfully. // If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. // This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, // when it might take a long time to load data or warm a cache, than during steady-state operation. // This cannot be updated. // This is an alpha feature enabled by the StartupProbe feature flag. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes // +optional StartupProbe *Probe `json:"startupProbe,omitempty" protobuf:"bytes,22,opt,name=startupProbe"` // Actions that the management system should take in response to container lifecycle events. // Cannot be updated. // +optional Lifecycle *Lifecycle `json:"lifecycle,omitempty" protobuf:"bytes,12,opt,name=lifecycle"` // Optional: Path at which the file to which the container's termination message // will be written is mounted into the container's filesystem. // Message written is intended to be brief final status, such as an assertion failure message. // Will be truncated by the node if greater than 4096 bytes. The total message length across // all containers will be limited to 12kb. // Defaults to /dev/termination-log. // Cannot be updated. // +optional TerminationMessagePath string `json:"terminationMessagePath,omitempty" protobuf:"bytes,13,opt,name=terminationMessagePath"` // Indicate how the termination message should be populated. File will use the contents of // terminationMessagePath to populate the container status message on both success and failure. // FallbackToLogsOnError will use the last chunk of container log output if the termination // message file is empty and the container exited with an error. // The log output is limited to 2048 bytes or 80 lines, whichever is smaller. // Defaults to File. // Cannot be updated. // +optional TerminationMessagePolicy TerminationMessagePolicy `json:"terminationMessagePolicy,omitempty" protobuf:"bytes,20,opt,name=terminationMessagePolicy,casttype=TerminationMessagePolicy"` // Image pull policy. // One of Always, Never, IfNotPresent. // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/containers/images#updating-images // +optional ImagePullPolicy PullPolicy `json:"imagePullPolicy,omitempty" protobuf:"bytes,14,opt,name=imagePullPolicy,casttype=PullPolicy"` // Security options the pod should run with. // More info: https://kubernetes.io/docs/concepts/policy/security-context/ // More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ // +optional SecurityContext *SecurityContext `json:"securityContext,omitempty" protobuf:"bytes,15,opt,name=securityContext"` // Whether this container should allocate a buffer for stdin in the container runtime. If this // is not set, reads from stdin in the container will always result in EOF. // Default is false. // +optional Stdin bool `json:"stdin,omitempty" protobuf:"varint,16,opt,name=stdin"` // Whether the container runtime should close the stdin channel after it has been opened by // a single attach. When stdin is true the stdin stream will remain open across multiple attach // sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the // first client attaches to stdin, and then remains open and accepts data until the client disconnects, // at which time stdin is closed and remains closed until the container is restarted. If this // flag is false, a container processes that reads from stdin will never receive an EOF. // Default is false // +optional StdinOnce bool `json:"stdinOnce,omitempty" protobuf:"varint,17,opt,name=stdinOnce"` // Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. // Default is false. // +optional TTY bool `json:"tty,omitempty" protobuf:"varint,18,opt,name=tty"` }
A single application container that you want to run within a pod.
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerImage struct { // Names by which this image is known. // e.g. ["k8s.gcr.io/hyperkube:v1.0.7", "dockerhub.io/google_containers/hyperkube:v1.0.7"] Names []string `json:"names" protobuf:"bytes,1,rep,name=names"` // The size of the image in bytes. // +optional SizeBytes int64 `json:"sizeBytes,omitempty" protobuf:"varint,2,opt,name=sizeBytes"` }
Describe a container image
func (in *ContainerImage) DeepCopy() *ContainerImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage.
func (in *ContainerImage) DeepCopyInto(out *ContainerImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerImage) Descriptor() ([]byte, []int)
func (m *ContainerImage) Marshal() (dAtA []byte, err error)
func (m *ContainerImage) MarshalTo(dAtA []byte) (int, error)
func (m *ContainerImage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContainerImage) ProtoMessage()
func (m *ContainerImage) Reset()
func (m *ContainerImage) Size() (n int)
func (this *ContainerImage) String() string
func (ContainerImage) SwaggerDoc() map[string]string
func (m *ContainerImage) Unmarshal(dAtA []byte) error
func (m *ContainerImage) XXX_DiscardUnknown()
func (m *ContainerImage) XXX_Merge(src proto.Message)
func (m *ContainerImage) XXX_Size() int
func (m *ContainerImage) XXX_Unmarshal(b []byte) error
type ContainerPort struct { // If specified, this must be an IANA_SVC_NAME and unique within the pod. Each // named port in a pod must have a unique name. Name for the port that can be // referred to by services. // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // Number of port to expose on the host. // If specified, this must be a valid port number, 0 < x < 65536. // If HostNetwork is specified, this must match ContainerPort. // Most containers do not need this. // +optional HostPort int32 `json:"hostPort,omitempty" protobuf:"varint,2,opt,name=hostPort"` // Number of port to expose on the pod's IP address. // This must be a valid port number, 0 < x < 65536. ContainerPort int32 `json:"containerPort" protobuf:"varint,3,opt,name=containerPort"` // Protocol for port. Must be UDP, TCP, or SCTP. // Defaults to "TCP". // +optional Protocol Protocol `json:"protocol,omitempty" protobuf:"bytes,4,opt,name=protocol,casttype=Protocol"` // What host IP to bind the external port to. // +optional HostIP string `json:"hostIP,omitempty" protobuf:"bytes,5,opt,name=hostIP"` }
ContainerPort represents a network port in a single container.
func (in *ContainerPort) DeepCopy() *ContainerPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPort.
func (in *ContainerPort) DeepCopyInto(out *ContainerPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerPort) Descriptor() ([]byte, []int)
func (m *ContainerPort) Marshal() (dAtA []byte, err error)
func (m *ContainerPort) MarshalTo(dAtA []byte) (int, error)
func (m *ContainerPort) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContainerPort) ProtoMessage()
func (m *ContainerPort) Reset()
func (m *ContainerPort) Size() (n int)
func (this *ContainerPort) String() string
func (ContainerPort) SwaggerDoc() map[string]string
func (m *ContainerPort) Unmarshal(dAtA []byte) error
func (m *ContainerPort) XXX_DiscardUnknown()
func (m *ContainerPort) XXX_Merge(src proto.Message)
func (m *ContainerPort) XXX_Size() int
func (m *ContainerPort) XXX_Unmarshal(b []byte) error
type ContainerState struct { // Details about a waiting container // +optional Waiting *ContainerStateWaiting `json:"waiting,omitempty" protobuf:"bytes,1,opt,name=waiting"` // Details about a running container // +optional Running *ContainerStateRunning `json:"running,omitempty" protobuf:"bytes,2,opt,name=running"` // Details about a terminated container // +optional Terminated *ContainerStateTerminated `json:"terminated,omitempty" protobuf:"bytes,3,opt,name=terminated"` }
ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.
func (in *ContainerState) DeepCopy() *ContainerState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState.
func (in *ContainerState) DeepCopyInto(out *ContainerState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerState) Descriptor() ([]byte, []int)
func (m *ContainerState) Marshal() (dAtA []byte, err error)
func (m *ContainerState) MarshalTo(dAtA []byte) (int, error)
func (m *ContainerState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContainerState) ProtoMessage()
func (m *ContainerState) Reset()
func (m *ContainerState) Size() (n int)
func (this *ContainerState) String() string
func (ContainerState) SwaggerDoc() map[string]string
func (m *ContainerState) Unmarshal(dAtA []byte) error
func (m *ContainerState) XXX_DiscardUnknown()
func (m *ContainerState) XXX_Merge(src proto.Message)
func (m *ContainerState) XXX_Size() int
func (m *ContainerState) XXX_Unmarshal(b []byte) error
type ContainerStateRunning struct { // Time at which the container was last (re-)started // +optional StartedAt metav1.Time `json:"startedAt,omitempty" protobuf:"bytes,1,opt,name=startedAt"` }
ContainerStateRunning is a running state of a container.
func (in *ContainerStateRunning) DeepCopy() *ContainerStateRunning
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning.
func (in *ContainerStateRunning) DeepCopyInto(out *ContainerStateRunning)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerStateRunning) Descriptor() ([]byte, []int)
func (m *ContainerStateRunning) Marshal() (dAtA []byte, err error)
func (m *ContainerStateRunning) MarshalTo(dAtA []byte) (int, error)
func (m *ContainerStateRunning) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContainerStateRunning) ProtoMessage()
func (m *ContainerStateRunning) Reset()
func (m *ContainerStateRunning) Size() (n int)
func (this *ContainerStateRunning) String() string
func (ContainerStateRunning) SwaggerDoc() map[string]string
func (m *ContainerStateRunning) Unmarshal(dAtA []byte) error
func (m *ContainerStateRunning) XXX_DiscardUnknown()
func (m *ContainerStateRunning) XXX_Merge(src proto.Message)
func (m *ContainerStateRunning) XXX_Size() int
func (m *ContainerStateRunning) XXX_Unmarshal(b []byte) error
type ContainerStateTerminated struct { // Exit status from the last termination of the container ExitCode int32 `json:"exitCode" protobuf:"varint,1,opt,name=exitCode"` // Signal from the last termination of the container // +optional Signal int32 `json:"signal,omitempty" protobuf:"varint,2,opt,name=signal"` // (brief) reason from the last termination of the container // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"` // Message regarding the last termination of the container // +optional Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"` // Time at which previous execution of the container started // +optional StartedAt metav1.Time `json:"startedAt,omitempty" protobuf:"bytes,5,opt,name=startedAt"` // Time at which the container last terminated // +optional FinishedAt metav1.Time `json:"finishedAt,omitempty" protobuf:"bytes,6,opt,name=finishedAt"` // Container's ID in the format 'docker://<container_id>' // +optional ContainerID string `json:"containerID,omitempty" protobuf:"bytes,7,opt,name=containerID"` }
ContainerStateTerminated is a terminated state of a container.
func (in *ContainerStateTerminated) DeepCopy() *ContainerStateTerminated
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateTerminated.
func (in *ContainerStateTerminated) DeepCopyInto(out *ContainerStateTerminated)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerStateTerminated) Descriptor() ([]byte, []int)
func (m *ContainerStateTerminated) Marshal() (dAtA []byte, err error)
func (m *ContainerStateTerminated) MarshalTo(dAtA []byte) (int, error)
func (m *ContainerStateTerminated) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContainerStateTerminated) ProtoMessage()
func (m *ContainerStateTerminated) Reset()
func (m *ContainerStateTerminated) Size() (n int)
func (this *ContainerStateTerminated) String() string
func (ContainerStateTerminated) SwaggerDoc() map[string]string
func (m *ContainerStateTerminated) Unmarshal(dAtA []byte) error
func (m *ContainerStateTerminated) XXX_DiscardUnknown()
func (m *ContainerStateTerminated) XXX_Merge(src proto.Message)
func (m *ContainerStateTerminated) XXX_Size() int
func (m *ContainerStateTerminated) XXX_Unmarshal(b []byte) error
type ContainerStateWaiting struct { // (brief) reason the container is not yet running. // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,1,opt,name=reason"` // Message regarding why the container is not yet running. // +optional Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` }
ContainerStateWaiting is a waiting state of a container.
func (in *ContainerStateWaiting) DeepCopy() *ContainerStateWaiting
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateWaiting.
func (in *ContainerStateWaiting) DeepCopyInto(out *ContainerStateWaiting)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerStateWaiting) Descriptor() ([]byte, []int)
func (m *ContainerStateWaiting) Marshal() (dAtA []byte, err error)
func (m *ContainerStateWaiting) MarshalTo(dAtA []byte) (int, error)
func (m *ContainerStateWaiting) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContainerStateWaiting) ProtoMessage()
func (m *ContainerStateWaiting) Reset()
func (m *ContainerStateWaiting) Size() (n int)
func (this *ContainerStateWaiting) String() string
func (ContainerStateWaiting) SwaggerDoc() map[string]string
func (m *ContainerStateWaiting) Unmarshal(dAtA []byte) error
func (m *ContainerStateWaiting) XXX_DiscardUnknown()
func (m *ContainerStateWaiting) XXX_Merge(src proto.Message)
func (m *ContainerStateWaiting) XXX_Size() int
func (m *ContainerStateWaiting) XXX_Unmarshal(b []byte) error
type ContainerStatus struct { // This must be a DNS_LABEL. Each container in a pod must have a unique name. // Cannot be updated. Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Details about the container's current condition. // +optional State ContainerState `json:"state,omitempty" protobuf:"bytes,2,opt,name=state"` // Details about the container's last termination condition. // +optional LastTerminationState ContainerState `json:"lastState,omitempty" protobuf:"bytes,3,opt,name=lastState"` // Specifies whether the container has passed its readiness probe. Ready bool `json:"ready" protobuf:"varint,4,opt,name=ready"` // The number of times the container has been restarted, currently based on // the number of dead containers that have not yet been removed. // Note that this is calculated from dead containers. But those containers are subject to // garbage collection. This value will get capped at 5 by GC. RestartCount int32 `json:"restartCount" protobuf:"varint,5,opt,name=restartCount"` // The image the container is running. // More info: https://kubernetes.io/docs/concepts/containers/images // TODO(dchen1107): Which image the container is running with? Image string `json:"image" protobuf:"bytes,6,opt,name=image"` // ImageID of the container's image. ImageID string `json:"imageID" protobuf:"bytes,7,opt,name=imageID"` // Container's ID in the format 'docker://<container_id>'. // +optional ContainerID string `json:"containerID,omitempty" protobuf:"bytes,8,opt,name=containerID"` // Specifies whether the container has passed its startup probe. // Initialized as false, becomes true after startupProbe is considered successful. // Resets to false when the container is restarted, or if kubelet loses state temporarily. // Is always true when no startupProbe is defined. // +optional Started *bool `json:"started,omitempty" protobuf:"varint,9,opt,name=started"` }
ContainerStatus contains details for the current status of this container.
func (in *ContainerStatus) DeepCopy() *ContainerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus.
func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerStatus) Descriptor() ([]byte, []int)
func (m *ContainerStatus) Marshal() (dAtA []byte, err error)
func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error)
func (m *ContainerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContainerStatus) ProtoMessage()
func (m *ContainerStatus) Reset()
func (m *ContainerStatus) Size() (n int)
func (this *ContainerStatus) String() string
func (ContainerStatus) SwaggerDoc() map[string]string
func (m *ContainerStatus) Unmarshal(dAtA []byte) error
func (m *ContainerStatus) XXX_DiscardUnknown()
func (m *ContainerStatus) XXX_Merge(src proto.Message)
func (m *ContainerStatus) XXX_Size() int
func (m *ContainerStatus) XXX_Unmarshal(b []byte) error
DNSPolicy defines how a pod's DNS will be configured.
const ( // DNSClusterFirstWithHostNet indicates that the pod should use cluster DNS // first, if it is available, then fall back on the default // (as determined by kubelet) DNS settings. DNSClusterFirstWithHostNet DNSPolicy = "ClusterFirstWithHostNet" // DNSClusterFirst indicates that the pod should use cluster DNS // first unless hostNetwork is true, if it is available, then // fall back on the default (as determined by kubelet) DNS settings. DNSClusterFirst DNSPolicy = "ClusterFirst" // DNSDefault indicates that the pod should use the default (as // determined by kubelet) DNS settings. DNSDefault DNSPolicy = "Default" // DNSNone indicates that the pod should use empty DNS settings. DNS // parameters such as nameservers and search paths should be defined via // DNSConfig. DNSNone DNSPolicy = "None" )
type DaemonEndpoint struct { // Port number of the given endpoint. Port int32 `json:"Port" protobuf:"varint,1,opt,name=Port"` }
DaemonEndpoint contains information about a single Daemon endpoint.
func (in *DaemonEndpoint) DeepCopy() *DaemonEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonEndpoint.
func (in *DaemonEndpoint) DeepCopyInto(out *DaemonEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DaemonEndpoint) Descriptor() ([]byte, []int)
func (m *DaemonEndpoint) Marshal() (dAtA []byte, err error)
func (m *DaemonEndpoint) MarshalTo(dAtA []byte) (int, error)
func (m *DaemonEndpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DaemonEndpoint) ProtoMessage()
func (m *DaemonEndpoint) Reset()
func (m *DaemonEndpoint) Size() (n int)
func (this *DaemonEndpoint) String() string
func (DaemonEndpoint) SwaggerDoc() map[string]string
func (m *DaemonEndpoint) Unmarshal(dAtA []byte) error
func (m *DaemonEndpoint) XXX_DiscardUnknown()
func (m *DaemonEndpoint) XXX_Merge(src proto.Message)
func (m *DaemonEndpoint) XXX_Size() int
func (m *DaemonEndpoint) XXX_Unmarshal(b []byte) error
type DownwardAPIProjection struct { // Items is a list of DownwardAPIVolume file // +optional Items []DownwardAPIVolumeFile `json:"items,omitempty" protobuf:"bytes,1,rep,name=items"` }
Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.
func (in *DownwardAPIProjection) DeepCopy() *DownwardAPIProjection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIProjection.