api: k8s.io/api/core/v1 Index | Files

package v1

import "k8s.io/api/core/v1"

Package v1 is the v1 version of the core API.

Index

Package Files

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 zz_generated.deepcopy.go

Constants

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"
)
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"

    AzureSharedBlobDisk    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"

    LabelInstanceType = "beta.kubernetes.io/instance-type"

    LabelOSStable   = "kubernetes.io/os"
    LabelArchStable = "kubernetes.io/arch"

    // 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 (
    // ClusterIPNone - do not assign a cluster IP
    // no proxying required and no environment variables should be created for pods
    ClusterIPNone = "None"
)
const (
    ConfigMapVolumeSourceDefaultMode int32 = 0644
)
const DefaultClientIPServiceAffinitySeconds int32 = 10800
const (
    // The default value for enableServiceLinks attribute.
    DefaultEnableServiceLinks = true
)
const (
    // DefaultTerminationGracePeriodSeconds indicates the default duration in
    // seconds a pod needs to terminate gracefully.
    DefaultTerminationGracePeriodSeconds = 30
)
const (
    DownwardAPIVolumeSourceDefaultMode int32 = 0644
)
const GroupName = ""

GroupName is the group name use in this package

const MaxSecretSize = 1 * 1024 * 1024
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 (
    ProjectedVolumeSourceDefaultMode int32 = 0644
)
const (
    SecretVolumeSourceDefaultMode int32 = 0644
)
const (
    // TerminationMessagePathDefault means the default path to capture the application termination message running in a container
    TerminationMessagePathDefault string = "/dev/termination-log"
)

Variables

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 Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type AWSElasticBlockStoreVolumeSource Uses

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 (*AWSElasticBlockStoreVolumeSource) DeepCopy Uses

func (in *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource.

func (*AWSElasticBlockStoreVolumeSource) DeepCopyInto Uses

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 Uses

func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int)

func (*AWSElasticBlockStoreVolumeSource) Marshal Uses

func (m *AWSElasticBlockStoreVolumeSource) Marshal() (dAtA []byte, err error)

func (*AWSElasticBlockStoreVolumeSource) MarshalTo Uses

func (m *AWSElasticBlockStoreVolumeSource) MarshalTo(dAtA []byte) (int, error)

func (*AWSElasticBlockStoreVolumeSource) MarshalToSizedBuffer Uses

func (m *AWSElasticBlockStoreVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AWSElasticBlockStoreVolumeSource) ProtoMessage Uses

func (*AWSElasticBlockStoreVolumeSource) ProtoMessage()

func (*AWSElasticBlockStoreVolumeSource) Reset Uses

func (m *AWSElasticBlockStoreVolumeSource) Reset()

func (*AWSElasticBlockStoreVolumeSource) Size Uses

func (m *AWSElasticBlockStoreVolumeSource) Size() (n int)

func (*AWSElasticBlockStoreVolumeSource) String Uses

func (this *AWSElasticBlockStoreVolumeSource) String() string

func (AWSElasticBlockStoreVolumeSource) SwaggerDoc Uses

func (AWSElasticBlockStoreVolumeSource) SwaggerDoc() map[string]string

func (*AWSElasticBlockStoreVolumeSource) Unmarshal Uses

func (m *AWSElasticBlockStoreVolumeSource) Unmarshal(dAtA []byte) error

func (*AWSElasticBlockStoreVolumeSource) XXX_DiscardUnknown Uses

func (m *AWSElasticBlockStoreVolumeSource) XXX_DiscardUnknown()

func (*AWSElasticBlockStoreVolumeSource) XXX_Marshal Uses

func (m *AWSElasticBlockStoreVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AWSElasticBlockStoreVolumeSource) XXX_Merge Uses

func (m *AWSElasticBlockStoreVolumeSource) XXX_Merge(src proto.Message)

func (*AWSElasticBlockStoreVolumeSource) XXX_Size Uses

func (m *AWSElasticBlockStoreVolumeSource) XXX_Size() int

func (*AWSElasticBlockStoreVolumeSource) XXX_Unmarshal Uses

func (m *AWSElasticBlockStoreVolumeSource) XXX_Unmarshal(b []byte) error

type Affinity Uses

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.

func (*Affinity) DeepCopy Uses

func (in *Affinity) DeepCopy() *Affinity

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Affinity.

func (*Affinity) DeepCopyInto Uses

func (in *Affinity) DeepCopyInto(out *Affinity)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Affinity) Descriptor Uses

func (*Affinity) Descriptor() ([]byte, []int)

func (*Affinity) Marshal Uses

func (m *Affinity) Marshal() (dAtA []byte, err error)

func (*Affinity) MarshalTo Uses

func (m *Affinity) MarshalTo(dAtA []byte) (int, error)

func (*Affinity) MarshalToSizedBuffer Uses

func (m *Affinity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Affinity) ProtoMessage Uses

func (*Affinity) ProtoMessage()

func (*Affinity) Reset Uses

func (m *Affinity) Reset()

func (*Affinity) Size Uses

func (m *Affinity) Size() (n int)

func (*Affinity) String Uses

func (this *Affinity) String() string

func (Affinity) SwaggerDoc Uses

func (Affinity) SwaggerDoc() map[string]string

func (*Affinity) Unmarshal Uses

func (m *Affinity) Unmarshal(dAtA []byte) error

func (*Affinity) XXX_DiscardUnknown Uses

func (m *Affinity) XXX_DiscardUnknown()

func (*Affinity) XXX_Marshal Uses

func (m *Affinity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Affinity) XXX_Merge Uses

func (m *Affinity) XXX_Merge(src proto.Message)

func (*Affinity) XXX_Size Uses

func (m *Affinity) XXX_Size() int

func (*Affinity) XXX_Unmarshal Uses

func (m *Affinity) XXX_Unmarshal(b []byte) error

type AttachedVolume Uses

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 (*AttachedVolume) DeepCopy Uses

func (in *AttachedVolume) DeepCopy() *AttachedVolume

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedVolume.

func (*AttachedVolume) DeepCopyInto Uses

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 Uses

func (*AttachedVolume) Descriptor() ([]byte, []int)

func (*AttachedVolume) Marshal Uses

func (m *AttachedVolume) Marshal() (dAtA []byte, err error)

func (*AttachedVolume) MarshalTo Uses

func (m *AttachedVolume) MarshalTo(dAtA []byte) (int, error)

func (*AttachedVolume) MarshalToSizedBuffer Uses

func (m *AttachedVolume) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AttachedVolume) ProtoMessage Uses

func (*AttachedVolume) ProtoMessage()

func (*AttachedVolume) Reset Uses

func (m *AttachedVolume) Reset()

func (*AttachedVolume) Size Uses

func (m *AttachedVolume) Size() (n int)

func (*AttachedVolume) String Uses

func (this *AttachedVolume) String() string

func (AttachedVolume) SwaggerDoc Uses

func (AttachedVolume) SwaggerDoc() map[string]string

func (*AttachedVolume) Unmarshal Uses

func (m *AttachedVolume) Unmarshal(dAtA []byte) error

func (*AttachedVolume) XXX_DiscardUnknown Uses

func (m *AttachedVolume) XXX_DiscardUnknown()

func (*AttachedVolume) XXX_Marshal Uses

func (m *AttachedVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachedVolume) XXX_Merge Uses

func (m *AttachedVolume) XXX_Merge(src proto.Message)

func (*AttachedVolume) XXX_Size Uses

func (m *AttachedVolume) XXX_Size() int

func (*AttachedVolume) XXX_Unmarshal Uses

func (m *AttachedVolume) XXX_Unmarshal(b []byte) error

type AvoidPods Uses

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.

func (*AvoidPods) DeepCopy Uses

func (in *AvoidPods) DeepCopy() *AvoidPods

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvoidPods.

func (*AvoidPods) DeepCopyInto Uses

func (in *AvoidPods) DeepCopyInto(out *AvoidPods)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AvoidPods) Descriptor Uses

func (*AvoidPods) Descriptor() ([]byte, []int)

func (*AvoidPods) Marshal Uses

func (m *AvoidPods) Marshal() (dAtA []byte, err error)

func (*AvoidPods) MarshalTo Uses

func (m *AvoidPods) MarshalTo(dAtA []byte) (int, error)

func (*AvoidPods) MarshalToSizedBuffer Uses

func (m *AvoidPods) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AvoidPods) ProtoMessage Uses

func (*AvoidPods) ProtoMessage()

func (*AvoidPods) Reset Uses

func (m *AvoidPods) Reset()

func (*AvoidPods) Size Uses

func (m *AvoidPods) Size() (n int)

func (*AvoidPods) String Uses

func (this *AvoidPods) String() string

func (AvoidPods) SwaggerDoc Uses

func (AvoidPods) SwaggerDoc() map[string]string

func (*AvoidPods) Unmarshal Uses

func (m *AvoidPods) Unmarshal(dAtA []byte) error

func (*AvoidPods) XXX_DiscardUnknown Uses

func (m *AvoidPods) XXX_DiscardUnknown()

func (*AvoidPods) XXX_Marshal Uses

func (m *AvoidPods) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AvoidPods) XXX_Merge Uses

func (m *AvoidPods) XXX_Merge(src proto.Message)

func (*AvoidPods) XXX_Size Uses

func (m *AvoidPods) XXX_Size() int

func (*AvoidPods) XXX_Unmarshal Uses

func (m *AvoidPods) XXX_Unmarshal(b []byte) error

type AzureDataDiskCachingMode Uses

type AzureDataDiskCachingMode string

type AzureDataDiskKind Uses

type AzureDataDiskKind string

type AzureDiskVolumeSource Uses

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 (*AzureDiskVolumeSource) DeepCopy Uses

func (in *AzureDiskVolumeSource) DeepCopy() *AzureDiskVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDiskVolumeSource.

func (*AzureDiskVolumeSource) DeepCopyInto Uses

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 Uses

func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int)

func (*AzureDiskVolumeSource) Marshal Uses

func (m *AzureDiskVolumeSource) Marshal() (dAtA []byte, err error)

func (*AzureDiskVolumeSource) MarshalTo Uses

func (m *AzureDiskVolumeSource) MarshalTo(dAtA []byte) (int, error)

func (*AzureDiskVolumeSource) MarshalToSizedBuffer Uses

func (m *AzureDiskVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureDiskVolumeSource) ProtoMessage Uses

func (*AzureDiskVolumeSource) ProtoMessage()

func (*AzureDiskVolumeSource) Reset Uses

func (m *AzureDiskVolumeSource) Reset()

func (*AzureDiskVolumeSource) Size Uses

func (m *AzureDiskVolumeSource) Size() (n int)

func (*AzureDiskVolumeSource) String Uses

func (this *AzureDiskVolumeSource) String() string

func (AzureDiskVolumeSource) SwaggerDoc Uses

func (AzureDiskVolumeSource) SwaggerDoc() map[string]string

func (*AzureDiskVolumeSource) Unmarshal Uses

func (m *AzureDiskVolumeSource) Unmarshal(dAtA []byte) error

func (*AzureDiskVolumeSource) XXX_DiscardUnknown Uses

func (m *AzureDiskVolumeSource) XXX_DiscardUnknown()

func (*AzureDiskVolumeSource) XXX_Marshal Uses

func (m *AzureDiskVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureDiskVolumeSource) XXX_Merge Uses

func (m *AzureDiskVolumeSource) XXX_Merge(src proto.Message)

func (*AzureDiskVolumeSource) XXX_Size Uses

func (m *AzureDiskVolumeSource) XXX_Size() int

func (*AzureDiskVolumeSource) XXX_Unmarshal Uses

func (m *AzureDiskVolumeSource) XXX_Unmarshal(b []byte) error

type AzureFilePersistentVolumeSource Uses

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
    ShareName 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 (*AzureFilePersistentVolumeSource) DeepCopy Uses

func (in *AzureFilePersistentVolumeSource) DeepCopy() *AzureFilePersistentVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilePersistentVolumeSource.

func (*AzureFilePersistentVolumeSource) DeepCopyInto Uses

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 Uses

func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int)

func (*AzureFilePersistentVolumeSource) Marshal Uses

func (m *AzureFilePersistentVolumeSource) Marshal() (dAtA []byte, err error)

func (*AzureFilePersistentVolumeSource) MarshalTo Uses

func (m *AzureFilePersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)

func (*AzureFilePersistentVolumeSource) MarshalToSizedBuffer Uses

func (m *AzureFilePersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureFilePersistentVolumeSource) ProtoMessage Uses

func (*AzureFilePersistentVolumeSource) ProtoMessage()

func (*AzureFilePersistentVolumeSource) Reset Uses

func (m *AzureFilePersistentVolumeSource) Reset()

func (*AzureFilePersistentVolumeSource) Size Uses

func (m *AzureFilePersistentVolumeSource) Size() (n int)

func (*AzureFilePersistentVolumeSource) String Uses

func (this *AzureFilePersistentVolumeSource) String() string

func (AzureFilePersistentVolumeSource) SwaggerDoc Uses

func (AzureFilePersistentVolumeSource) SwaggerDoc() map[string]string

func (*AzureFilePersistentVolumeSource) Unmarshal Uses

func (m *AzureFilePersistentVolumeSource) Unmarshal(dAtA []byte) error

func (*AzureFilePersistentVolumeSource) XXX_DiscardUnknown Uses

func (m *AzureFilePersistentVolumeSource) XXX_DiscardUnknown()

func (*AzureFilePersistentVolumeSource) XXX_Marshal Uses

func (m *AzureFilePersistentVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureFilePersistentVolumeSource) XXX_Merge Uses

func (m *AzureFilePersistentVolumeSource) XXX_Merge(src proto.Message)

func (*AzureFilePersistentVolumeSource) XXX_Size Uses

func (m *AzureFilePersistentVolumeSource) XXX_Size() int

func (*AzureFilePersistentVolumeSource) XXX_Unmarshal Uses

func (m *AzureFilePersistentVolumeSource) XXX_Unmarshal(b []byte) error

type AzureFileVolumeSource Uses

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
    ShareName 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 (*AzureFileVolumeSource) DeepCopy Uses

func (in *AzureFileVolumeSource) DeepCopy() *AzureFileVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFileVolumeSource.

func (*AzureFileVolumeSource) DeepCopyInto Uses

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 Uses

func (*AzureFileVolumeSource) Descriptor() ([]byte, []int)

func (*AzureFileVolumeSource) Marshal Uses

func (m *AzureFileVolumeSource) Marshal() (dAtA []byte, err error)

func (*AzureFileVolumeSource) MarshalTo Uses

func (m *AzureFileVolumeSource) MarshalTo(dAtA []byte) (int, error)

func (*AzureFileVolumeSource) MarshalToSizedBuffer Uses

func (m *AzureFileVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureFileVolumeSource) ProtoMessage Uses

func (*AzureFileVolumeSource) ProtoMessage()

func (*AzureFileVolumeSource) Reset Uses

func (m *AzureFileVolumeSource) Reset()

func (*AzureFileVolumeSource) Size Uses

func (m *AzureFileVolumeSource) Size() (n int)

func (*AzureFileVolumeSource) String Uses

func (this *AzureFileVolumeSource) String() string

func (AzureFileVolumeSource) SwaggerDoc Uses

func (AzureFileVolumeSource) SwaggerDoc() map[string]string

func (*AzureFileVolumeSource) Unmarshal Uses

func (m *AzureFileVolumeSource) Unmarshal(dAtA []byte) error

func (*AzureFileVolumeSource) XXX_DiscardUnknown Uses

func (m *AzureFileVolumeSource) XXX_DiscardUnknown()

func (*AzureFileVolumeSource) XXX_Marshal Uses

func (m *AzureFileVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureFileVolumeSource) XXX_Merge Uses

func (m *AzureFileVolumeSource) XXX_Merge(src proto.Message)

func (*AzureFileVolumeSource) XXX_Size Uses

func (m *AzureFileVolumeSource) XXX_Size() int

func (*AzureFileVolumeSource) XXX_Unmarshal Uses

func (m *AzureFileVolumeSource) XXX_Unmarshal(b []byte) error

type Binding Uses

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.

func (*Binding) DeepCopy Uses

func (in *Binding) DeepCopy() *Binding

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding.

func (*Binding) DeepCopyInto Uses

func (in *Binding) DeepCopyInto(out *Binding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Binding) DeepCopyObject Uses

func (in *Binding) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Binding) Descriptor Uses

func (*Binding) Descriptor() ([]byte, []int)

func (*Binding) Marshal Uses

func (m *Binding) Marshal() (dAtA []byte, err error)

func (*Binding) MarshalTo Uses

func (m *Binding) MarshalTo(dAtA []byte) (int, error)

func (*Binding) MarshalToSizedBuffer Uses

func (m *Binding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Binding) ProtoMessage Uses

func (*Binding) ProtoMessage()

func (*Binding) Reset Uses

func (m *Binding) Reset()

func (*Binding) Size Uses

func (m *Binding) Size() (n int)

func (*Binding) String Uses

func (this *Binding) String() string

func (Binding) SwaggerDoc Uses

func (Binding) SwaggerDoc() map[string]string

func (*Binding) Unmarshal Uses

func (m *Binding) Unmarshal(dAtA []byte) error

func (*Binding) XXX_DiscardUnknown Uses

func (m *Binding) XXX_DiscardUnknown()

func (*Binding) XXX_Marshal Uses

func (m *Binding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Binding) XXX_Merge Uses

func (m *Binding) XXX_Merge(src proto.Message)

func (*Binding) XXX_Size Uses

func (m *Binding) XXX_Size() int

func (*Binding) XXX_Unmarshal Uses

func (m *Binding) XXX_Unmarshal(b []byte) error

type CSIPersistentVolumeSource Uses

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 (*CSIPersistentVolumeSource) DeepCopy Uses

func (in *CSIPersistentVolumeSource) DeepCopy() *CSIPersistentVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIPersistentVolumeSource.

func (*CSIPersistentVolumeSource) DeepCopyInto Uses

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 Uses

func (*CSIPersistentVolumeSource) Descriptor() ([]byte, []int)

func (*CSIPersistentVolumeSource) Marshal Uses

func (m *CSIPersistentVolumeSource) Marshal() (dAtA []byte, err error)

func (*CSIPersistentVolumeSource) MarshalTo Uses

func (m *CSIPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)

func (*CSIPersistentVolumeSource) MarshalToSizedBuffer Uses

func (m *CSIPersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CSIPersistentVolumeSource) ProtoMessage Uses

func (*CSIPersistentVolumeSource) ProtoMessage()

func (*CSIPersistentVolumeSource) Reset Uses

func (m *CSIPersistentVolumeSource) Reset()

func (*CSIPersistentVolumeSource) Size Uses

func (m *CSIPersistentVolumeSource) Size() (n int)

func (*CSIPersistentVolumeSource) String Uses

func (this *CSIPersistentVolumeSource) String() string

func (CSIPersistentVolumeSource) SwaggerDoc Uses

func (CSIPersistentVolumeSource) SwaggerDoc() map[string]string

func (*CSIPersistentVolumeSource) Unmarshal Uses

func (m *CSIPersistentVolumeSource) Unmarshal(dAtA []byte) error

func (*CSIPersistentVolumeSource) XXX_DiscardUnknown Uses

func (m *CSIPersistentVolumeSource) XXX_DiscardUnknown()

func (*CSIPersistentVolumeSource) XXX_Marshal Uses

func (m *CSIPersistentVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CSIPersistentVolumeSource) XXX_Merge Uses

func (m *CSIPersistentVolumeSource) XXX_Merge(src proto.Message)

func (*CSIPersistentVolumeSource) XXX_Size Uses

func (m *CSIPersistentVolumeSource) XXX_Size() int

func (*CSIPersistentVolumeSource) XXX_Unmarshal Uses

func (m *CSIPersistentVolumeSource) XXX_Unmarshal(b []byte) error

type CSIVolumeSource Uses

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 (*CSIVolumeSource) DeepCopy Uses

func (in *CSIVolumeSource) DeepCopy() *CSIVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIVolumeSource.

func (*CSIVolumeSource) DeepCopyInto Uses

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 Uses

func (*CSIVolumeSource) Descriptor() ([]byte, []int)

func (*CSIVolumeSource) Marshal Uses

func (m *CSIVolumeSource) Marshal() (dAtA []byte, err error)

func (*CSIVolumeSource) MarshalTo Uses

func (m *CSIVolumeSource) MarshalTo(dAtA []byte) (int, error)

func (*CSIVolumeSource) MarshalToSizedBuffer Uses

func (m *CSIVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CSIVolumeSource) ProtoMessage Uses

func (*CSIVolumeSource) ProtoMessage()

func (*CSIVolumeSource) Reset Uses

func (m *CSIVolumeSource) Reset()

func (*CSIVolumeSource) Size Uses

func (m *CSIVolumeSource) Size() (n int)

func (*CSIVolumeSource) String Uses

func (this *CSIVolumeSource) String() string

func (CSIVolumeSource) SwaggerDoc Uses

func (CSIVolumeSource) SwaggerDoc() map[string]string

func (*CSIVolumeSource) Unmarshal Uses

func (m *CSIVolumeSource) Unmarshal(dAtA []byte) error

func (*CSIVolumeSource) XXX_DiscardUnknown Uses

func (m *CSIVolumeSource) XXX_DiscardUnknown()

func (*CSIVolumeSource) XXX_Marshal Uses

func (m *CSIVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CSIVolumeSource) XXX_Merge Uses

func (m *CSIVolumeSource) XXX_Merge(src proto.Message)

func (*CSIVolumeSource) XXX_Size Uses

func (m *CSIVolumeSource) XXX_Size() int

func (*CSIVolumeSource) XXX_Unmarshal Uses

func (m *CSIVolumeSource) XXX_Unmarshal(b []byte) error

type Capabilities Uses

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 (*Capabilities) DeepCopy Uses

func (in *Capabilities) DeepCopy() *Capabilities

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities.

func (*Capabilities) DeepCopyInto Uses

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 Uses

func (*Capabilities) Descriptor() ([]byte, []int)

func (*Capabilities) Marshal Uses

func (m *Capabilities) Marshal() (dAtA []byte, err error)

func (*Capabilities) MarshalTo Uses

func (m *Capabilities) MarshalTo(dAtA []byte) (int, error)

func (*Capabilities) MarshalToSizedBuffer Uses

func (m *Capabilities) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Capabilities) ProtoMessage Uses

func (*Capabilities) ProtoMessage()

func (*Capabilities) Reset Uses

func (m *Capabilities) Reset()

func (*Capabilities) Size Uses

func (m *Capabilities) Size() (n int)

func (*Capabilities) String Uses

func (this *Capabilities) String() string

func (Capabilities) SwaggerDoc Uses

func (Capabilities) SwaggerDoc() map[string]string

func (*Capabilities) Unmarshal Uses

func (m *Capabilities) Unmarshal(dAtA []byte) error

func (*Capabilities) XXX_DiscardUnknown Uses

func (m *Capabilities) XXX_DiscardUnknown()

func (*Capabilities) XXX_Marshal Uses

func (m *Capabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Capabilities) XXX_Merge Uses

func (m *Capabilities) XXX_Merge(src proto.Message)

func (*Capabilities) XXX_Size Uses

func (m *Capabilities) XXX_Size() int

func (*Capabilities) XXX_Unmarshal Uses

func (m *Capabilities) XXX_Unmarshal(b []byte) error

type Capability Uses

type Capability string

Capability represent POSIX capabilities type

type CephFSPersistentVolumeSource Uses

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 (*CephFSPersistentVolumeSource) DeepCopy Uses

func (in *CephFSPersistentVolumeSource) DeepCopy() *CephFSPersistentVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSPersistentVolumeSource.

func (*CephFSPersistentVolumeSource) DeepCopyInto Uses

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 Uses

func (*CephFSPersistentVolumeSource) Descriptor() ([]byte, []int)

func (*CephFSPersistentVolumeSource) Marshal Uses

func (m *CephFSPersistentVolumeSource) Marshal() (dAtA []byte, err error)

func (*CephFSPersistentVolumeSource) MarshalTo Uses

func (m *CephFSPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)

func (*CephFSPersistentVolumeSource) MarshalToSizedBuffer Uses

func (m *CephFSPersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CephFSPersistentVolumeSource) ProtoMessage Uses

func (*CephFSPersistentVolumeSource) ProtoMessage()

func (*CephFSPersistentVolumeSource) Reset Uses

func (m *CephFSPersistentVolumeSource) Reset()

func (*CephFSPersistentVolumeSource) Size Uses

func (m *CephFSPersistentVolumeSource) Size() (n int)

func (*CephFSPersistentVolumeSource) String Uses

func (this *CephFSPersistentVolumeSource) String() string

func (CephFSPersistentVolumeSource) SwaggerDoc Uses

func (CephFSPersistentVolumeSource) SwaggerDoc() map[string]string

func (*CephFSPersistentVolumeSource) Unmarshal Uses

func (m *CephFSPersistentVolumeSource) Unmarshal(dAtA []byte) error

func (*CephFSPersistentVolumeSource) XXX_DiscardUnknown Uses

func (m *CephFSPersistentVolumeSource) XXX_DiscardUnknown()

func (*CephFSPersistentVolumeSource) XXX_Marshal Uses

func (m *CephFSPersistentVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CephFSPersistentVolumeSource) XXX_Merge Uses

func (m *CephFSPersistentVolumeSource) XXX_Merge(src proto.Message)

func (*CephFSPersistentVolumeSource) XXX_Size Uses

func (m *CephFSPersistentVolumeSource) XXX_Size() int

func (*CephFSPersistentVolumeSource) XXX_Unmarshal Uses

func (m *CephFSPersistentVolumeSource) XXX_Unmarshal(b []byte) error

type CephFSVolumeSource Uses

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 (*CephFSVolumeSource) DeepCopy Uses

func (in *CephFSVolumeSource) DeepCopy() *CephFSVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSVolumeSource.

func (*CephFSVolumeSource) DeepCopyInto Uses

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 Uses

func (*CephFSVolumeSource) Descriptor() ([]byte, []int)

func (*CephFSVolumeSource) Marshal Uses

func (m *CephFSVolumeSource) Marshal() (dAtA []byte, err error)

func (*CephFSVolumeSource) MarshalTo Uses

func (m *CephFSVolumeSource) MarshalTo(dAtA []byte) (int, error)

func (*CephFSVolumeSource) MarshalToSizedBuffer Uses

func (m *CephFSVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CephFSVolumeSource) ProtoMessage Uses

func (*CephFSVolumeSource) ProtoMessage()

func (*CephFSVolumeSource) Reset Uses

func (m *CephFSVolumeSource) Reset()

func (*CephFSVolumeSource) Size Uses

func (m *CephFSVolumeSource) Size() (n int)

func (*CephFSVolumeSource) String Uses

func (this *CephFSVolumeSource) String() string

func (CephFSVolumeSource) SwaggerDoc Uses

func (CephFSVolumeSource) SwaggerDoc() map[string]string

func (*CephFSVolumeSource) Unmarshal Uses

func (m *CephFSVolumeSource) Unmarshal(dAtA []byte) error

func (*CephFSVolumeSource) XXX_DiscardUnknown Uses

func (m *CephFSVolumeSource) XXX_DiscardUnknown()

func (*CephFSVolumeSource) XXX_Marshal Uses

func (m *CephFSVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CephFSVolumeSource) XXX_Merge Uses

func (m *CephFSVolumeSource) XXX_Merge(src proto.Message)

func (*CephFSVolumeSource) XXX_Size Uses

func (m *CephFSVolumeSource) XXX_Size() int

func (*CephFSVolumeSource) XXX_Unmarshal Uses

func (m *CephFSVolumeSource) XXX_Unmarshal(b []byte) error

type CinderPersistentVolumeSource Uses

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 (*CinderPersistentVolumeSource) DeepCopy Uses

func (in *CinderPersistentVolumeSource) DeepCopy() *CinderPersistentVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderPersistentVolumeSource.

func (*CinderPersistentVolumeSource) DeepCopyInto Uses

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 Uses

func (*CinderPersistentVolumeSource) Descriptor() ([]byte, []int)

func (*CinderPersistentVolumeSource) Marshal Uses

func (m *CinderPersistentVolumeSource) Marshal() (dAtA []byte, err error)

func (*CinderPersistentVolumeSource) MarshalTo Uses

func (m *CinderPersistentVolumeSource) MarshalTo(dAtA []byte) (int, error)

func (*CinderPersistentVolumeSource) MarshalToSizedBuffer Uses

func (m *CinderPersistentVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CinderPersistentVolumeSource) ProtoMessage Uses

func (*CinderPersistentVolumeSource) ProtoMessage()

func (*CinderPersistentVolumeSource) Reset Uses

func (m *CinderPersistentVolumeSource) Reset()

func (*CinderPersistentVolumeSource) Size Uses

func (m *CinderPersistentVolumeSource) Size() (n int)

func (*CinderPersistentVolumeSource) String Uses

func (this *CinderPersistentVolumeSource) String() string

func (CinderPersistentVolumeSource) SwaggerDoc Uses

func (CinderPersistentVolumeSource) SwaggerDoc() map[string]string

func (*CinderPersistentVolumeSource) Unmarshal Uses

func (m *CinderPersistentVolumeSource) Unmarshal(dAtA []byte) error

func (*CinderPersistentVolumeSource) XXX_DiscardUnknown Uses

func (m *CinderPersistentVolumeSource) XXX_DiscardUnknown()

func (*CinderPersistentVolumeSource) XXX_Marshal Uses

func (m *CinderPersistentVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CinderPersistentVolumeSource) XXX_Merge Uses

func (m *CinderPersistentVolumeSource) XXX_Merge(src proto.Message)

func (*CinderPersistentVolumeSource) XXX_Size Uses

func (m *CinderPersistentVolumeSource) XXX_Size() int

func (*CinderPersistentVolumeSource) XXX_Unmarshal Uses

func (m *CinderPersistentVolumeSource) XXX_Unmarshal(b []byte) error

type CinderVolumeSource Uses

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 (*CinderVolumeSource) DeepCopy Uses

func (in *CinderVolumeSource) DeepCopy() *CinderVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderVolumeSource.

func (*CinderVolumeSource) DeepCopyInto Uses

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 Uses

func (*CinderVolumeSource) Descriptor() ([]byte, []int)

func (*CinderVolumeSource) Marshal Uses

func (m *CinderVolumeSource) Marshal() (dAtA []byte, err error)

func (*CinderVolumeSource) MarshalTo Uses

func (m *CinderVolumeSource) MarshalTo(dAtA []byte) (int, error)

func (*CinderVolumeSource) MarshalToSizedBuffer Uses

func (m *CinderVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CinderVolumeSource) ProtoMessage Uses

func (*CinderVolumeSource) ProtoMessage()

func (*CinderVolumeSource) Reset Uses

func (m *CinderVolumeSource) Reset()

func (*CinderVolumeSource) Size Uses

func (m *CinderVolumeSource) Size() (n int)

func (*CinderVolumeSource) String Uses

func (this *CinderVolumeSource) String() string

func (CinderVolumeSource) SwaggerDoc Uses

func (CinderVolumeSource) SwaggerDoc() map[string]string

func (*CinderVolumeSource) Unmarshal Uses

func (m *CinderVolumeSource) Unmarshal(dAtA []byte) error

func (*CinderVolumeSource) XXX_DiscardUnknown Uses

func (m *CinderVolumeSource) XXX_DiscardUnknown()

func (*CinderVolumeSource) XXX_Marshal Uses

func (m *CinderVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CinderVolumeSource) XXX_Merge Uses

func (m *CinderVolumeSource) XXX_Merge(src proto.Message)

func (*CinderVolumeSource) XXX_Size Uses

func (m *CinderVolumeSource) XXX_Size() int

func (*CinderVolumeSource) XXX_Unmarshal Uses

func (m *CinderVolumeSource) XXX_Unmarshal(b []byte) error

type ClientIPConfig Uses

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 (*ClientIPConfig) DeepCopy Uses

func (in *ClientIPConfig) DeepCopy() *ClientIPConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientIPConfig.

func (*ClientIPConfig) DeepCopyInto Uses

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 Uses

func (*ClientIPConfig) Descriptor() ([]byte, []int)

func (*ClientIPConfig) Marshal Uses

func (m *ClientIPConfig) Marshal() (dAtA []byte, err error)

func (*ClientIPConfig) MarshalTo Uses

func (m *ClientIPConfig) MarshalTo(dAtA []byte) (int, error)

func (*ClientIPConfig) MarshalToSizedBuffer Uses

func (m *ClientIPConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClientIPConfig) ProtoMessage Uses

func (*ClientIPConfig) ProtoMessage()

func (*ClientIPConfig) Reset Uses

func (m *ClientIPConfig) Reset()

func (*ClientIPConfig) Size Uses

func (m *ClientIPConfig) Size() (n int)

func (*ClientIPConfig) String Uses

func (this *ClientIPConfig) String() string

func (ClientIPConfig) SwaggerDoc Uses

func (ClientIPConfig) SwaggerDoc() map[string]string

func (*ClientIPConfig) Unmarshal Uses

func (m *ClientIPConfig) Unmarshal(dAtA []byte) error

func (*ClientIPConfig) XXX_DiscardUnknown Uses

func (m *ClientIPConfig) XXX_DiscardUnknown()

func (*ClientIPConfig) XXX_Marshal Uses

func (m *ClientIPConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientIPConfig) XXX_Merge Uses

func (m *ClientIPConfig) XXX_Merge(src proto.Message)

func (*ClientIPConfig) XXX_Size Uses

func (m *ClientIPConfig) XXX_Size() int

func (*ClientIPConfig) XXX_Unmarshal Uses

func (m *ClientIPConfig) XXX_Unmarshal(b []byte) error

type ComponentCondition Uses

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 (*ComponentCondition) DeepCopy Uses

func (in *ComponentCondition) DeepCopy() *ComponentCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition.

func (*ComponentCondition) DeepCopyInto Uses

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 Uses

func (*ComponentCondition) Descriptor() ([]byte, []int)

func (*ComponentCondition) Marshal Uses

func (m *ComponentCondition) Marshal() (dAtA []byte, err error)

func (*ComponentCondition) MarshalTo Uses

func (m *ComponentCondition) MarshalTo(dAtA []byte) (int, error)

func (*ComponentCondition) MarshalToSizedBuffer Uses

func (m *ComponentCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ComponentCondition) ProtoMessage Uses

func (*ComponentCondition) ProtoMessage()

func (*ComponentCondition) Reset Uses

func (m *ComponentCondition) Reset()

func (*ComponentCondition) Size Uses

func (m *ComponentCondition) Size() (n int)

func (*ComponentCondition) String Uses

func (this *ComponentCondition) String() string

func (ComponentCondition) SwaggerDoc Uses

func (ComponentCondition) SwaggerDoc() map[string]string

func (*ComponentCondition) Unmarshal Uses

func (m *ComponentCondition) Unmarshal(dAtA []byte) error

func (*ComponentCondition) XXX_DiscardUnknown Uses

func (m *ComponentCondition) XXX_DiscardUnknown()

func (*ComponentCondition) XXX_Marshal Uses

func (m *ComponentCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComponentCondition) XXX_Merge Uses

func (m *ComponentCondition) XXX_Merge(src proto.Message)

func (*ComponentCondition) XXX_Size Uses

func (m *ComponentCondition) XXX_Size() int

func (*ComponentCondition) XXX_Unmarshal Uses

func (m *ComponentCondition) XXX_Unmarshal(b []byte) error

type ComponentConditionType Uses

type ComponentConditionType string

Type and constants for component health validation.

const (
    ComponentHealthy ComponentConditionType = "Healthy"
)

These are the valid conditions for the component.

type ComponentStatus Uses

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 (*ComponentStatus) DeepCopy Uses

func (in *ComponentStatus) DeepCopy() *ComponentStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.

func (*ComponentStatus) DeepCopyInto Uses

func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComponentStatus) DeepCopyObject Uses

func (in *ComponentStatus) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ComponentStatus) Descriptor Uses

func (*ComponentStatus) Descriptor() ([]byte, []int)

func (*ComponentStatus) Marshal Uses

func (m *ComponentStatus) Marshal() (dAtA []byte, err error)

func (*ComponentStatus) MarshalTo Uses

func (m *ComponentStatus) MarshalTo(dAtA []byte) (int, error)

func (*ComponentStatus) MarshalToSizedBuffer Uses

func (m *ComponentStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ComponentStatus) ProtoMessage Uses

func (*ComponentStatus) ProtoMessage()

func (*ComponentStatus) Reset Uses

func (m *ComponentStatus) Reset()

func (*ComponentStatus) Size Uses

func (m *ComponentStatus) Size() (n int)

func (*ComponentStatus) String Uses

func (this *ComponentStatus) String() string

func (ComponentStatus) SwaggerDoc Uses

func (ComponentStatus) SwaggerDoc() map[string]string

func (*ComponentStatus) Unmarshal Uses

func (m *ComponentStatus) Unmarshal(dAtA []byte) error

func (*ComponentStatus) XXX_DiscardUnknown Uses

func (m *ComponentStatus) XXX_DiscardUnknown()

func (*ComponentStatus) XXX_Marshal Uses

func (m *ComponentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComponentStatus) XXX_Merge Uses

func (m *ComponentStatus) XXX_Merge(src proto.Message)

func (*ComponentStatus) XXX_Size Uses

func (m *ComponentStatus) XXX_Size() int

func (*ComponentStatus) XXX_Unmarshal Uses

func (m *ComponentStatus) XXX_Unmarshal(b []byte) error

type ComponentStatusList Uses

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 (*ComponentStatusList) DeepCopy Uses

func (in *ComponentStatusList) DeepCopy() *ComponentStatusList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList.

func (*ComponentStatusList) DeepCopyInto Uses

func (in *ComponentStatusList) DeepCopyInto(out *ComponentStatusList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ComponentStatusList) DeepCopyObject Uses

func (in *ComponentStatusList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ComponentStatusList) Descriptor Uses

func (*ComponentStatusList) Descriptor() ([]byte, []int)

func (*ComponentStatusList) Marshal Uses

func (m *ComponentStatusList) Marshal() (dAtA []byte, err error)

func (*ComponentStatusList) MarshalTo Uses

func (m *ComponentStatusList) MarshalTo(dAtA []byte) (int, error)

func (*ComponentStatusList) MarshalToSizedBuffer Uses

func (m *ComponentStatusList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ComponentStatusList) ProtoMessage Uses

func (*ComponentStatusList) ProtoMessage()

func (*ComponentStatusList) Reset Uses

func (m *ComponentStatusList) Reset()

func (*ComponentStatusList) Size Uses

func (m *ComponentStatusList) Size() (n int)

func (*ComponentStatusList) String Uses

func (this *ComponentStatusList) String() string

func (ComponentStatusList) SwaggerDoc Uses

func (ComponentStatusList) SwaggerDoc() map[string]string

func (*ComponentStatusList) Unmarshal Uses

func (m *ComponentStatusList) Unmarshal(dAtA []byte) error

func (*ComponentStatusList) XXX_DiscardUnknown Uses

func (m *ComponentStatusList) XXX_DiscardUnknown()

func (*ComponentStatusList) XXX_Marshal Uses

func (m *ComponentStatusList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComponentStatusList) XXX_Merge Uses

func (m *ComponentStatusList) XXX_Merge(src proto.Message)

func (*ComponentStatusList) XXX_Size Uses

func (m *ComponentStatusList) XXX_Size() int

func (*ComponentStatusList) XXX_Unmarshal Uses

func (m *ComponentStatusList) XXX_Unmarshal(b []byte) error

type ConditionStatus Uses

type ConditionStatus string
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 Uses

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.

func (*ConfigMap) DeepCopy Uses

func (in *ConfigMap) DeepCopy() *ConfigMap

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap.

func (*ConfigMap) DeepCopyInto Uses

func (in *ConfigMap) DeepCopyInto(out *ConfigMap)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConfigMap) DeepCopyObject Uses

func (in *ConfigMap) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ConfigMap) Descriptor Uses

func (*ConfigMap) Descriptor() ([]byte, []int)

func (*ConfigMap) Marshal Uses

func (m *ConfigMap) Marshal() (dAtA []byte, err error)

func (*ConfigMap) MarshalTo Uses

func (m *ConfigMap) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMap) MarshalToSizedBuffer Uses

func (m *ConfigMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMap) ProtoMessage Uses

func (*ConfigMap) ProtoMessage()

func (*ConfigMap) Reset Uses

func (m *ConfigMap) Reset()

func (*ConfigMap) Size Uses

func (m *ConfigMap) Size() (n int)

func (*ConfigMap) String Uses

func (this *ConfigMap) String() string

func (ConfigMap) SwaggerDoc Uses

func (ConfigMap) SwaggerDoc() map[string]string

func (*ConfigMap) Unmarshal Uses

func (m *ConfigMap) Unmarshal(dAtA []byte) error

func (*ConfigMap) XXX_DiscardUnknown Uses

func (m *ConfigMap) XXX_DiscardUnknown()

func (*ConfigMap) XXX_Marshal Uses

func (m *ConfigMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMap) XXX_Merge Uses

func (m *ConfigMap) XXX_Merge(src proto.Message)

func (*ConfigMap) XXX_Size Uses

func (m *ConfigMap) XXX_Size() int

func (*ConfigMap) XXX_Unmarshal Uses

func (m *ConfigMap) XXX_Unmarshal(b []byte) error

type ConfigMapEnvSource Uses

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 (*ConfigMapEnvSource) DeepCopy Uses

func (in *ConfigMapEnvSource) DeepCopy() *ConfigMapEnvSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapEnvSource.

func (*ConfigMapEnvSource) DeepCopyInto Uses

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 Uses

func (*ConfigMapEnvSource) Descriptor() ([]byte, []int)

func (*ConfigMapEnvSource) Marshal Uses

func (m *ConfigMapEnvSource) Marshal() (dAtA []byte, err error)

func (*ConfigMapEnvSource) MarshalTo Uses

func (m *ConfigMapEnvSource) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapEnvSource) MarshalToSizedBuffer Uses

func (m *ConfigMapEnvSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapEnvSource) ProtoMessage Uses

func (*ConfigMapEnvSource) ProtoMessage()

func (*ConfigMapEnvSource) Reset Uses

func (m *ConfigMapEnvSource) Reset()

func (*ConfigMapEnvSource) Size Uses

func (m *ConfigMapEnvSource) Size() (n int)

func (*ConfigMapEnvSource) String Uses

func (this *ConfigMapEnvSource) String() string

func (ConfigMapEnvSource) SwaggerDoc Uses

func (ConfigMapEnvSource) SwaggerDoc() map[string]string

func (*ConfigMapEnvSource) Unmarshal Uses

func (m *ConfigMapEnvSource) Unmarshal(dAtA []byte) error

func (*ConfigMapEnvSource) XXX_DiscardUnknown Uses

func (m *ConfigMapEnvSource) XXX_DiscardUnknown()

func (*ConfigMapEnvSource) XXX_Marshal Uses

func (m *ConfigMapEnvSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapEnvSource) XXX_Merge Uses

func (m *ConfigMapEnvSource) XXX_Merge(src proto.Message)

func (*ConfigMapEnvSource) XXX_Size Uses

func (m *ConfigMapEnvSource) XXX_Size() int

func (*ConfigMapEnvSource) XXX_Unmarshal Uses

func (m *ConfigMapEnvSource) XXX_Unmarshal(b []byte) error

type ConfigMapKeySelector Uses

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 (*ConfigMapKeySelector) DeepCopy Uses

func (in *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeySelector.

func (*ConfigMapKeySelector) DeepCopyInto Uses

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 Uses

func (*ConfigMapKeySelector) Descriptor() ([]byte, []int)

func (*ConfigMapKeySelector) Marshal Uses

func (m *ConfigMapKeySelector) Marshal() (dAtA []byte, err error)

func (*ConfigMapKeySelector) MarshalTo Uses

func (m *ConfigMapKeySelector) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapKeySelector) MarshalToSizedBuffer Uses

func (m *ConfigMapKeySelector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapKeySelector) ProtoMessage Uses

func (*ConfigMapKeySelector) ProtoMessage()

func (*ConfigMapKeySelector) Reset Uses

func (m *ConfigMapKeySelector) Reset()

func (*ConfigMapKeySelector) Size Uses

func (m *ConfigMapKeySelector) Size() (n int)

func (*ConfigMapKeySelector) String Uses

func (this *ConfigMapKeySelector) String() string

func (ConfigMapKeySelector) SwaggerDoc Uses

func (ConfigMapKeySelector) SwaggerDoc() map[string]string

func (*ConfigMapKeySelector) Unmarshal Uses

func (m *ConfigMapKeySelector) Unmarshal(dAtA []byte) error

func (*ConfigMapKeySelector) XXX_DiscardUnknown Uses

func (m *ConfigMapKeySelector) XXX_DiscardUnknown()

func (*ConfigMapKeySelector) XXX_Marshal Uses

func (m *ConfigMapKeySelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapKeySelector) XXX_Merge Uses

func (m *ConfigMapKeySelector) XXX_Merge(src proto.Message)

func (*ConfigMapKeySelector) XXX_Size Uses

func (m *ConfigMapKeySelector) XXX_Size() int

func (*ConfigMapKeySelector) XXX_Unmarshal Uses

func (m *ConfigMapKeySelector) XXX_Unmarshal(b []byte) error

type ConfigMapList Uses

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 (*ConfigMapList) DeepCopy Uses

func (in *ConfigMapList) DeepCopy() *ConfigMapList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList.

func (*ConfigMapList) DeepCopyInto Uses

func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConfigMapList) DeepCopyObject Uses

func (in *ConfigMapList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ConfigMapList) Descriptor Uses

func (*ConfigMapList) Descriptor() ([]byte, []int)

func (*ConfigMapList) Marshal Uses

func (m *ConfigMapList) Marshal() (dAtA []byte, err error)

func (*ConfigMapList) MarshalTo Uses

func (m *ConfigMapList) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapList) MarshalToSizedBuffer Uses

func (m *ConfigMapList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapList) ProtoMessage Uses

func (*ConfigMapList) ProtoMessage()

func (*ConfigMapList) Reset Uses

func (m *ConfigMapList) Reset()

func (*ConfigMapList) Size Uses

func (m *ConfigMapList) Size() (n int)

func (*ConfigMapList) String Uses

func (this *ConfigMapList) String() string

func (ConfigMapList) SwaggerDoc Uses

func (ConfigMapList) SwaggerDoc() map[string]string

func (*ConfigMapList) Unmarshal Uses

func (m *ConfigMapList) Unmarshal(dAtA []byte) error

func (*ConfigMapList) XXX_DiscardUnknown Uses

func (m *ConfigMapList) XXX_DiscardUnknown()

func (*ConfigMapList) XXX_Marshal Uses

func (m *ConfigMapList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapList) XXX_Merge Uses

func (m *ConfigMapList) XXX_Merge(src proto.Message)

func (*ConfigMapList) XXX_Size Uses

func (m *ConfigMapList) XXX_Size() int

func (*ConfigMapList) XXX_Unmarshal Uses

func (m *ConfigMapList) XXX_Unmarshal(b []byte) error

type ConfigMapNodeConfigSource Uses

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 (*ConfigMapNodeConfigSource) DeepCopy Uses

func (in *ConfigMapNodeConfigSource) DeepCopy() *ConfigMapNodeConfigSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapNodeConfigSource.

func (*ConfigMapNodeConfigSource) DeepCopyInto Uses

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 Uses

func (*ConfigMapNodeConfigSource) Descriptor() ([]byte, []int)

func (*ConfigMapNodeConfigSource) Marshal Uses

func (m *ConfigMapNodeConfigSource) Marshal() (dAtA []byte, err error)

func (*ConfigMapNodeConfigSource) MarshalTo Uses

func (m *ConfigMapNodeConfigSource) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapNodeConfigSource) MarshalToSizedBuffer Uses

func (m *ConfigMapNodeConfigSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapNodeConfigSource) ProtoMessage Uses

func (*ConfigMapNodeConfigSource) ProtoMessage()

func (*ConfigMapNodeConfigSource) Reset Uses

func (m *ConfigMapNodeConfigSource) Reset()

func (*ConfigMapNodeConfigSource) Size Uses

func (m *ConfigMapNodeConfigSource) Size() (n int)

func (*ConfigMapNodeConfigSource) String Uses

func (this *ConfigMapNodeConfigSource) String() string

func (ConfigMapNodeConfigSource) SwaggerDoc Uses

func (ConfigMapNodeConfigSource) SwaggerDoc() map[string]string

func (*ConfigMapNodeConfigSource) Unmarshal Uses

func (m *ConfigMapNodeConfigSource) Unmarshal(dAtA []byte) error

func (*ConfigMapNodeConfigSource) XXX_DiscardUnknown Uses

func (m *ConfigMapNodeConfigSource) XXX_DiscardUnknown()

func (*ConfigMapNodeConfigSource) XXX_Marshal Uses

func (m *ConfigMapNodeConfigSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapNodeConfigSource) XXX_Merge Uses

func (m *ConfigMapNodeConfigSource) XXX_Merge(src proto.Message)

func (*ConfigMapNodeConfigSource) XXX_Size Uses

func (m *ConfigMapNodeConfigSource) XXX_Size() int

func (*ConfigMapNodeConfigSource) XXX_Unmarshal Uses

func (m *ConfigMapNodeConfigSource) XXX_Unmarshal(b []byte) error

type ConfigMapProjection Uses

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 (*ConfigMapProjection) DeepCopy Uses

func (in *ConfigMapProjection) DeepCopy() *ConfigMapProjection

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapProjection.

func (*ConfigMapProjection) DeepCopyInto Uses

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 Uses

func (*ConfigMapProjection) Descriptor() ([]byte, []int)

func (*ConfigMapProjection) Marshal Uses

func (m *ConfigMapProjection) Marshal() (dAtA []byte, err error)

func (*ConfigMapProjection) MarshalTo Uses

func (m *ConfigMapProjection) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapProjection) MarshalToSizedBuffer Uses

func (m *ConfigMapProjection) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapProjection) ProtoMessage Uses

func (*ConfigMapProjection) ProtoMessage()

func (*ConfigMapProjection) Reset Uses

func (m *ConfigMapProjection) Reset()

func (*ConfigMapProjection) Size Uses

func (m *ConfigMapProjection) Size() (n int)

func (*ConfigMapProjection) String Uses

func (this *ConfigMapProjection) String() string

func (ConfigMapProjection) SwaggerDoc Uses

func (ConfigMapProjection) SwaggerDoc() map[string]string

func (*ConfigMapProjection) Unmarshal Uses

func (m *ConfigMapProjection) Unmarshal(dAtA []byte) error

func (*ConfigMapProjection) XXX_DiscardUnknown Uses

func (m *ConfigMapProjection) XXX_DiscardUnknown()

func (*ConfigMapProjection) XXX_Marshal Uses

func (m *ConfigMapProjection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapProjection) XXX_Merge Uses

func (m *ConfigMapProjection) XXX_Merge(src proto.Message)

func (*ConfigMapProjection) XXX_Size Uses

func (m *ConfigMapProjection) XXX_Size() int

func (*ConfigMapProjection) XXX_Unmarshal Uses

func (m *ConfigMapProjection) XXX_Unmarshal(b []byte) error

type ConfigMapVolumeSource Uses

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 (*ConfigMapVolumeSource) DeepCopy Uses

func (in *ConfigMapVolumeSource) DeepCopy() *ConfigMapVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapVolumeSource.

func (*ConfigMapVolumeSource) DeepCopyInto Uses

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 Uses

func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int)

func (*ConfigMapVolumeSource) Marshal Uses

func (m *ConfigMapVolumeSource) Marshal() (dAtA []byte, err error)

func (*ConfigMapVolumeSource) MarshalTo Uses

func (m *ConfigMapVolumeSource) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapVolumeSource) MarshalToSizedBuffer Uses

func (m *ConfigMapVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapVolumeSource) ProtoMessage Uses

func (*ConfigMapVolumeSource) ProtoMessage()

func (*ConfigMapVolumeSource) Reset Uses

func (m *ConfigMapVolumeSource) Reset()

func (*ConfigMapVolumeSource) Size Uses

func (m *ConfigMapVolumeSource) Size() (n int)

func (*ConfigMapVolumeSource) String Uses

func (this *ConfigMapVolumeSource) String() string

func (ConfigMapVolumeSource) SwaggerDoc Uses

func (ConfigMapVolumeSource) SwaggerDoc() map[string]string

func (*ConfigMapVolumeSource) Unmarshal Uses

func (m *ConfigMapVolumeSource) Unmarshal(dAtA []byte) error

func (*ConfigMapVolumeSource) XXX_DiscardUnknown Uses

func (m *ConfigMapVolumeSource) XXX_DiscardUnknown()

func (*ConfigMapVolumeSource) XXX_Marshal Uses

func (m *ConfigMapVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapVolumeSource) XXX_Merge Uses

func (m *ConfigMapVolumeSource) XXX_Merge(src proto.Message)

func (*ConfigMapVolumeSource) XXX_Size Uses

func (m *ConfigMapVolumeSource) XXX_Size() int

func (*ConfigMapVolumeSource) XXX_Unmarshal Uses

func (m *ConfigMapVolumeSource) XXX_Unmarshal(b []byte) error

type Container Uses

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.

func (*Container) DeepCopy Uses

func (in *Container) DeepCopy() *Container

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.

func (*Container) DeepCopyInto Uses

func (in *Container) DeepCopyInto(out *Container)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Container) Descriptor Uses

func (*Container) Descriptor() ([]byte, []int)

func (*Container) Marshal Uses

func (m *Container) Marshal() (dAtA []byte, err error)

func (*Container) MarshalTo Uses

func (m *Container) MarshalTo(dAtA []byte) (int, error)

func (*Container) MarshalToSizedBuffer Uses

func (m *Container) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Container) ProtoMessage Uses

func (*Container) ProtoMessage()

func (*Container) Reset Uses

func (m *Container) Reset()

func (*Container) Size Uses

func (m *Container) Size() (n int)

func (*Container) String Uses

func (this *Container) String() string

func (Container) SwaggerDoc Uses

func (Container) SwaggerDoc() map[string]string

func (*Container) Unmarshal Uses

func (m *Container) Unmarshal(dAtA []byte) error

func (*Container) XXX_DiscardUnknown Uses

func (m *Container) XXX_DiscardUnknown()

func (*Container) XXX_Marshal Uses

func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Container) XXX_Merge Uses

func (m *Container) XXX_Merge(src proto.Message)

func (*Container) XXX_Size Uses

func (m *Container) XXX_Size() int

func (*Container) XXX_Unmarshal Uses

func (m *Container) XXX_Unmarshal(b []byte) error

type ContainerImage Uses

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 (*ContainerImage) DeepCopy Uses

func (in *ContainerImage) DeepCopy() *ContainerImage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage.

func (*ContainerImage) DeepCopyInto Uses

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 Uses

func (*ContainerImage) Descriptor() ([]byte, []int)

func (*ContainerImage) Marshal Uses

func (m *ContainerImage) Marshal() (dAtA []byte, err error)

func (*ContainerImage) MarshalTo Uses

func (m *ContainerImage) MarshalTo(dAtA []byte) (int, error)

func (*ContainerImage) MarshalToSizedBuffer Uses

func (m *ContainerImage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerImage) ProtoMessage Uses

func (*ContainerImage) ProtoMessage()

func (*ContainerImage) Reset Uses

func (m *ContainerImage) Reset()

func (*ContainerImage) Size Uses

func (m *ContainerImage) Size() (n int)

func (*ContainerImage) String Uses

func (this *ContainerImage) String() string

func (ContainerImage) SwaggerDoc Uses

func (ContainerImage) SwaggerDoc() map[string]string

func (*ContainerImage) Unmarshal Uses

func (m *ContainerImage) Unmarshal(dAtA []byte) error

func (*ContainerImage) XXX_DiscardUnknown Uses

func (m *ContainerImage) XXX_DiscardUnknown()

func (*ContainerImage) XXX_Marshal Uses

func (m *ContainerImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerImage) XXX_Merge Uses

func (m *ContainerImage) XXX_Merge(src proto.Message)

func (*ContainerImage) XXX_Size Uses

func (m *ContainerImage) XXX_Size() int

func (*ContainerImage) XXX_Unmarshal Uses

func (m *ContainerImage) XXX_Unmarshal(b []byte) error

type ContainerPort Uses

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 (*ContainerPort) DeepCopy Uses

func (in *ContainerPort) DeepCopy() *ContainerPort

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPort.

func (*ContainerPort) DeepCopyInto Uses

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 Uses

func (*ContainerPort) Descriptor() ([]byte, []int)

func (*ContainerPort) Marshal Uses

func (m *ContainerPort) Marshal() (dAtA []byte, err error)

func (*ContainerPort) MarshalTo Uses

func (m *ContainerPort) MarshalTo(dAtA []byte) (int, error)

func (*ContainerPort) MarshalToSizedBuffer Uses

func (m *ContainerPort) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerPort) ProtoMessage Uses

func (*ContainerPort) ProtoMessage()

func (*ContainerPort) Reset Uses

func (m *ContainerPort) Reset()

func (*ContainerPort) Size Uses

func (m *ContainerPort) Size() (n int)

func (*ContainerPort) String Uses

func (this *ContainerPort) String() string

func (ContainerPort) SwaggerDoc Uses

func (ContainerPort) SwaggerDoc() map[string]string

func (*ContainerPort) Unmarshal Uses

func (m *ContainerPort) Unmarshal(dAtA []byte) error

func (*ContainerPort) XXX_DiscardUnknown Uses

func (m *ContainerPort) XXX_DiscardUnknown()

func (*ContainerPort) XXX_Marshal Uses

func (m *ContainerPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerPort) XXX_Merge Uses

func (m *ContainerPort) XXX_Merge(src proto.Message)

func (*ContainerPort) XXX_Size Uses

func (m *ContainerPort) XXX_Size() int

func (*ContainerPort) XXX_Unmarshal Uses

func (m *ContainerPort) XXX_Unmarshal(b []byte) error

type ContainerState Uses

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 (*ContainerState) DeepCopy Uses

func (in *ContainerState) DeepCopy() *ContainerState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState.

func (*ContainerState) DeepCopyInto Uses

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 Uses

func (*ContainerState) Descriptor() ([]byte, []int)

func (*ContainerState) Marshal Uses

func (m *ContainerState) Marshal() (dAtA []byte, err error)

func (*ContainerState) MarshalTo Uses

func (m *ContainerState) MarshalTo(dAtA []byte) (int, error)

func (*ContainerState) MarshalToSizedBuffer Uses

func (m *ContainerState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerState) ProtoMessage Uses

func (*ContainerState) ProtoMessage()

func (*ContainerState) Reset Uses

func (m *ContainerState) Reset()

func (*ContainerState) Size Uses

func (m *ContainerState) Size() (n int)

func (*ContainerState) String Uses

func (this *ContainerState) String() string

func (ContainerState) SwaggerDoc Uses

func (ContainerState) SwaggerDoc() map[string]string

func (*ContainerState) Unmarshal Uses

func (m *ContainerState) Unmarshal(dAtA []byte) error

func (*ContainerState) XXX_DiscardUnknown Uses

func (m *ContainerState) XXX_DiscardUnknown()

func (*ContainerState) XXX_Marshal Uses

func (m *ContainerState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerState) XXX_Merge Uses

func (m *ContainerState) XXX_Merge(src proto.Message)

func (*ContainerState) XXX_Size Uses

func (m *ContainerState) XXX_Size() int

func (*ContainerState) XXX_Unmarshal Uses

func (m *ContainerState) XXX_Unmarshal(b []byte) error

type ContainerStateRunning Uses

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 (*ContainerStateRunning) DeepCopy Uses

func (in *ContainerStateRunning) DeepCopy() *ContainerStateRunning

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning.

func (*ContainerStateRunning) DeepCopyInto Uses

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 Uses

func (*ContainerStateRunning) Descriptor() ([]byte, []int)

func (*ContainerStateRunning) Marshal Uses

func (m *ContainerStateRunning) Marshal() (dAtA []byte, err error)

func (*ContainerStateRunning) MarshalTo Uses

func (m *ContainerStateRunning) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStateRunning) MarshalToSizedBuffer Uses

func (m *ContainerStateRunning) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStateRunning) ProtoMessage Uses

func (*ContainerStateRunning) ProtoMessage()

func (*ContainerStateRunning) Reset Uses

func (m *ContainerStateRunning) Reset()

func (*ContainerStateRunning) Size Uses

func (m *ContainerStateRunning) Size() (n int)

func (*ContainerStateRunning) String Uses

func (this *ContainerStateRunning) String() string

func (ContainerStateRunning) SwaggerDoc Uses

func (ContainerStateRunning) SwaggerDoc() map[string]string

func (*ContainerStateRunning) Unmarshal Uses

func (m *ContainerStateRunning) Unmarshal(dAtA []byte) error

func (*ContainerStateRunning) XXX_DiscardUnknown Uses

func (m *ContainerStateRunning) XXX_DiscardUnknown()

func (*ContainerStateRunning) XXX_Marshal Uses

func (m *ContainerStateRunning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStateRunning) XXX_Merge Uses

func (m *ContainerStateRunning) XXX_Merge(src proto.Message)

func (*ContainerStateRunning) XXX_Size Uses

func (m *ContainerStateRunning) XXX_Size() int

func (*ContainerStateRunning) XXX_Unmarshal Uses

func (m *ContainerStateRunning) XXX_Unmarshal(b []byte) error

type ContainerStateTerminated Uses

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 (*ContainerStateTerminated) DeepCopy Uses

func (in *ContainerStateTerminated) DeepCopy() *ContainerStateTerminated

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateTerminated.

func (*ContainerStateTerminated) DeepCopyInto Uses

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 Uses

func (*ContainerStateTerminated) Descriptor() ([]byte, []int)

func (*ContainerStateTerminated) Marshal Uses

func (m *ContainerStateTerminated) Marshal() (dAtA []byte, err error)

func (*ContainerStateTerminated) MarshalTo Uses

func (m *ContainerStateTerminated) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStateTerminated) MarshalToSizedBuffer Uses

func (m *ContainerStateTerminated) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStateTerminated) ProtoMessage Uses

func (*ContainerStateTerminated) ProtoMessage()

func (*ContainerStateTerminated) Reset Uses

func (m *ContainerStateTerminated) Reset()

func (*ContainerStateTerminated) Size Uses

func (m *ContainerStateTerminated) Size() (n int)

func (*ContainerStateTerminated) String Uses

func (this *ContainerStateTerminated) String() string

func (ContainerStateTerminated) SwaggerDoc Uses

func (ContainerStateTerminated) SwaggerDoc() map[string]string

func (*ContainerStateTerminated) Unmarshal Uses

func (m *ContainerStateTerminated) Unmarshal(dAtA []byte) error

func (*ContainerStateTerminated) XXX_DiscardUnknown Uses

func (m *ContainerStateTerminated) XXX_DiscardUnknown()

func (*ContainerStateTerminated) XXX_Marshal Uses

func (m *ContainerStateTerminated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStateTerminated) XXX_Merge Uses

func (m *ContainerStateTerminated) XXX_Merge(src proto.Message)

func (*ContainerStateTerminated) XXX_Size Uses

func (m *ContainerStateTerminated) XXX_Size() int

func (*ContainerStateTerminated) XXX_Unmarshal Uses

func (m *ContainerStateTerminated) XXX_Unmarshal(b []byte) error

type ContainerStateWaiting Uses

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 (*ContainerStateWaiting) DeepCopy Uses

func (in *ContainerStateWaiting) DeepCopy() *ContainerStateWaiting

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateWaiting.

func (*ContainerStateWaiting) DeepCopyInto Uses

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 Uses

func (*ContainerStateWaiting) Descriptor() ([]byte, []int)

func (*ContainerStateWaiting) Marshal Uses

func (m *ContainerStateWaiting) Marshal() (dAtA []byte, err error)

func (*ContainerStateWaiting) MarshalTo Uses

func (m *ContainerStateWaiting) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStateWaiting) MarshalToSizedBuffer Uses

func (m *ContainerStateWaiting) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStateWaiting) ProtoMessage Uses

func (*ContainerStateWaiting) ProtoMessage()

func (*ContainerStateWaiting) Reset Uses

func (m *ContainerStateWaiting) Reset()

func (*ContainerStateWaiting) Size Uses

func (m *ContainerStateWaiting) Size() (n int)

func (*ContainerStateWaiting) String Uses

func (this *ContainerStateWaiting) String() string

func (ContainerStateWaiting) SwaggerDoc Uses

func (ContainerStateWaiting) SwaggerDoc() map[string]string

func (*ContainerStateWaiting) Unmarshal Uses

func (m *ContainerStateWaiting) Unmarshal(dAtA []byte) error

func (*ContainerStateWaiting) XXX_DiscardUnknown Uses

func (m *ContainerStateWaiting) XXX_DiscardUnknown()

func (*ContainerStateWaiting) XXX_Marshal Uses

func (m *ContainerStateWaiting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStateWaiting) XXX_Merge Uses

func (m *ContainerStateWaiting) XXX_Merge(src proto.Message)

func (*ContainerStateWaiting) XXX_Size Uses

func (m *ContainerStateWaiting) XXX_Size() int

func (*ContainerStateWaiting) XXX_Unmarshal Uses

func (m *ContainerStateWaiting) XXX_Unmarshal(b []byte) error

type ContainerStatus Uses

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 (*ContainerStatus) DeepCopy Uses

func (in *ContainerStatus) DeepCopy() *ContainerStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus.

func (*ContainerStatus) DeepCopyInto Uses

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 Uses

func (*ContainerStatus) Descriptor() ([]byte, []int)

func (*ContainerStatus) Marshal Uses

func (m *ContainerStatus) Marshal() (dAtA []byte, err error)

func (*ContainerStatus) MarshalTo Uses

func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error)

func (*ContainerStatus) MarshalToSizedBuffer Uses

func (m *ContainerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerStatus) ProtoMessage Uses

func (*ContainerStatus) ProtoMessage()

func (*ContainerStatus) Reset Uses

func (m *ContainerStatus) Reset()

func (*ContainerStatus) Size Uses

func (m *ContainerStatus) Size() (n int)

func (*ContainerStatus) String Uses

func (this *ContainerStatus) String() string

func (ContainerStatus) SwaggerDoc Uses

func (ContainerStatus) SwaggerDoc() map[string]string

func (*ContainerStatus) Unmarshal Uses

func (m *ContainerStatus) Unmarshal(dAtA []byte) error

func (*ContainerStatus) XXX_DiscardUnknown Uses

func (m *ContainerStatus) XXX_DiscardUnknown()

func (*ContainerStatus) XXX_Marshal Uses

func (m *ContainerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerStatus) XXX_Merge Uses

func (m *ContainerStatus) XXX_Merge(src proto.Message)

func (*ContainerStatus) XXX_Size Uses

func (m *ContainerStatus) XXX_Size() int

func (*ContainerStatus) XXX_Unmarshal Uses

func (m *ContainerStatus) XXX_Unmarshal(b []byte) error

type DNSPolicy Uses

type DNSPolicy string

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 Uses

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 (*DaemonEndpoint) DeepCopy Uses

func (in *DaemonEndpoint) DeepCopy() *DaemonEndpoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonEndpoint.

func (*DaemonEndpoint) DeepCopyInto Uses

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 Uses

func (*DaemonEndpoint) Descriptor() ([]byte, []int)

func (*DaemonEndpoint) Marshal Uses

func (m *DaemonEndpoint) Marshal() (dAtA []byte, err error)

func (*DaemonEndpoint) MarshalTo Uses

func (m *DaemonEndpoint) MarshalTo(dAtA []byte) (int, error)

func (*DaemonEndpoint) MarshalToSizedBuffer Uses

func (m *DaemonEndpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DaemonEndpoint) ProtoMessage Uses

func (*DaemonEndpoint) ProtoMessage()

func (*DaemonEndpoint) Reset Uses

func (m *DaemonEndpoint) Reset()

func (*DaemonEndpoint) Size Uses

func (m *DaemonEndpoint) Size() (n int)

func (*DaemonEndpoint) String Uses

func (this *DaemonEndpoint) String() string

func (DaemonEndpoint) SwaggerDoc Uses

func (DaemonEndpoint) SwaggerDoc() map[string]string

func (*DaemonEndpoint) Unmarshal Uses

func (m *DaemonEndpoint) Unmarshal(dAtA []byte) error

func (*DaemonEndpoint) XXX_DiscardUnknown Uses

func (m *DaemonEndpoint) XXX_DiscardUnknown()

func (*DaemonEndpoint) XXX_Marshal Uses

func (m *DaemonEndpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DaemonEndpoint) XXX_Merge Uses

func (m *DaemonEndpoint) XXX_Merge(src proto.Message)

func (*DaemonEndpoint) XXX_Size Uses

func (m *DaemonEndpoint) XXX_Size() int

func (*DaemonEndpoint) XXX_Unmarshal Uses

func (m *DaemonEndpoint) XXX_Unmarshal(b []byte) error

type DownwardAPIProjection Uses

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 (*DownwardAPIProjection) DeepCopy Uses

func (in *DownwardAPIProjection) DeepCopy() *DownwardAPIProjection

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIProjection.

func (*DownwardAPIProjection) DeepCopyInto Uses

func (in *DownwardAPIProjection) DeepCopyInto(out *DownwardAPIProjection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DownwardAPIProjection) Descriptor Uses

func (*DownwardAPIProjection) Descriptor() ([]byte, []int)

func (*DownwardAPIProjection) Marshal Uses

func (m *DownwardAPIProjection) Marshal() (dAtA []byte, err error)

func (*DownwardAPIProjection) MarshalTo Uses

func (m *DownwardAPIProjection) MarshalTo(dAtA []byte) (int, error)

func (*DownwardAPIProjection) MarshalToSizedBuffer Uses

func (m *DownwardAPIProjection) MarshalToSizedBuffer(dAtA []byte) (int, error)