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.

Package v1 is a generated protocol buffer package.

It is generated from these files:
	k8s.io/kubernetes/vendor/k8s.io/api/core/v1/generated.proto

It has these top-level messages:
	AWSElasticBlockStoreVolumeSource
	Affinity
	AttachedVolume
	AvoidPods
	AzureDiskVolumeSource
	AzureFilePersistentVolumeSource
	AzureFileVolumeSource
	Binding
	Capabilities
	CephFSPersistentVolumeSource
	CephFSVolumeSource
	CinderVolumeSource
	ClientIPConfig
	ComponentCondition
	ComponentStatus
	ComponentStatusList
	ConfigMap
	ConfigMapEnvSource
	ConfigMapKeySelector
	ConfigMapList
	ConfigMapProjection
	ConfigMapVolumeSource
	Container
	ContainerImage
	ContainerPort
	ContainerState
	ContainerStateRunning
	ContainerStateTerminated
	ContainerStateWaiting
	ContainerStatus
	DaemonEndpoint
	DeleteOptions
	DownwardAPIProjection
	DownwardAPIVolumeFile
	DownwardAPIVolumeSource
	EmptyDirVolumeSource
	EndpointAddress
	EndpointPort
	EndpointSubset
	Endpoints
	EndpointsList
	EnvFromSource
	EnvVar
	EnvVarSource
	Event
	EventList
	EventSource
	ExecAction
	FCVolumeSource
	FlexVolumeSource
	FlockerVolumeSource
	GCEPersistentDiskVolumeSource
	GitRepoVolumeSource
	GlusterfsVolumeSource
	HTTPGetAction
	HTTPHeader
	Handler
	HostAlias
	HostPathVolumeSource
	ISCSIVolumeSource
	KeyToPath
	Lifecycle
	LimitRange
	LimitRangeItem
	LimitRangeList
	LimitRangeSpec
	List
	ListOptions
	LoadBalancerIngress
	LoadBalancerStatus
	LocalObjectReference
	LocalVolumeSource
	NFSVolumeSource
	Namespace
	NamespaceList
	NamespaceSpec
	NamespaceStatus
	Node
	NodeAddress
	NodeAffinity
	NodeCondition
	NodeConfigSource
	NodeDaemonEndpoints
	NodeList
	NodeProxyOptions
	NodeResources
	NodeSelector
	NodeSelectorRequirement
	NodeSelectorTerm
	NodeSpec
	NodeStatus
	NodeSystemInfo
	ObjectFieldSelector
	ObjectMeta
	ObjectReference
	PersistentVolume
	PersistentVolumeClaim
	PersistentVolumeClaimCondition
	PersistentVolumeClaimList
	PersistentVolumeClaimSpec
	PersistentVolumeClaimStatus
	PersistentVolumeClaimVolumeSource
	PersistentVolumeList
	PersistentVolumeSource
	PersistentVolumeSpec
	PersistentVolumeStatus
	PhotonPersistentDiskVolumeSource
	Pod
	PodAffinity
	PodAffinityTerm
	PodAntiAffinity
	PodAttachOptions
	PodCondition
	PodExecOptions
	PodList
	PodLogOptions
	PodPortForwardOptions
	PodProxyOptions
	PodSecurityContext
	PodSignature
	PodSpec
	PodStatus
	PodStatusResult
	PodTemplate
	PodTemplateList
	PodTemplateSpec
	PortworxVolumeSource
	Preconditions
	PreferAvoidPodsEntry
	PreferredSchedulingTerm
	Probe
	ProjectedVolumeSource
	QuobyteVolumeSource
	RBDVolumeSource
	RangeAllocation
	ReplicationController
	ReplicationControllerCondition
	ReplicationControllerList
	ReplicationControllerSpec
	ReplicationControllerStatus
	ResourceFieldSelector
	ResourceQuota
	ResourceQuotaList
	ResourceQuotaSpec
	ResourceQuotaStatus
	ResourceRequirements
	SELinuxOptions
	ScaleIOVolumeSource
	Secret
	SecretEnvSource
	SecretKeySelector
	SecretList
	SecretProjection
	SecretReference
	SecretVolumeSource
	SecurityContext
	SerializedReference
	Service
	ServiceAccount
	ServiceAccountList
	ServiceList
	ServicePort
	ServiceProxyOptions
	ServiceSpec
	ServiceStatus
	SessionAffinityConfig
	StorageOSPersistentVolumeSource
	StorageOSVolumeSource
	Sysctl
	TCPSocketAction
	Taint
	Toleration
	Volume
	VolumeMount
	VolumeProjection
	VolumeSource
	VsphereVirtualDiskVolumeSource
	WeightedPodAffinityTerm

Index

Package Files

annotation_key_constants.go doc.go generated.pb.go meta.go objectreference.go register.go resource.go taint.go toleration.go types.go types_swagger_doc_generated.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/"

    // CreatedByAnnotation represents the key used to store the spec(json)
    // used to create the resource.
    // This field is deprecated in favor of ControllerRef (see #44407).
    // TODO(#50720): Remove this field in v1.9.
    CreatedByAnnotation = "kubernetes.io/created-by"

    // PreferAvoidPodsAnnotationKey represents the key of preferAvoidPods data (json serialized)
    // in the Annotations of a Node.
    PreferAvoidPodsAnnotationKey string = "scheduler.alpha.kubernetes.io/preferAvoidPods"

    // SysctlsPodAnnotationKey represents the key of sysctls which are set for the infrastructure
    // container of a pod. The annotation value is a comma separated list of sysctl_name=value
    // key-value pairs. Only a limited set of whitelisted and isolated sysctls is supported by
    // the kubelet. Pods with other sysctls will fail to launch.
    SysctlsPodAnnotationKey string = "security.alpha.kubernetes.io/sysctls"

    // UnsafeSysctlsPodAnnotationKey represents the key of sysctls which are set for the infrastructure
    // container of a pod. The annotation value is a comma separated list of sysctl_name=value
    // key-value pairs. Unsafe sysctls must be explicitly enabled for a kubelet. They are properly
    // namespaced to a pod or a container, but their isolation is usually unclear or weak. Their use
    // is at-your-own-risk. Pods that attempt to set an unsafe sysctl that is not enabled for a kubelet
    // will fail to launch.
    UnsafeSysctlsPodAnnotationKey string = "security.alpha.kubernetes.io/unsafe-sysctls"

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

    // AlphaStorageNodeAffinityAnnotation defines node affinity policies for a PersistentVolume.
    // Value is a string of the json representation of type NodeAffinity
    AlphaStorageNodeAffinityAnnotation = "volume.alpha.kubernetes.io/node-affinity"
)
const (
    AzureDataDiskCachingNone      AzureDataDiskCachingMode = "None"
    AzureDataDiskCachingReadOnly  AzureDataDiskCachingMode = "ReadOnly"
    AzureDataDiskCachingReadWrite AzureDataDiskCachingMode = "ReadWrite"

    AzureSharedBlobDisk    AzureDataDiskKind = "Shared"
    AzureDedicatedBlobDisk AzureDataDiskKind = "Dedicated"
    AzureManagedDisk       AzureDataDiskKind = "Managed"
)
const (
    // Namespace prefix for opaque counted resources (alpha).
    ResourceOpaqueIntPrefix = "pod.alpha.kubernetes.io/opaque-int-resource-"
    // Default namespace prefix.
    ResourceDefaultNamespacePrefix = "kubernetes.io/"
    // Name prefix for huge page resources (alpha).
    ResourceHugePagesPrefix = "hugepages-"
)
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 (
    // "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 int = 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 (
    // 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 (
    DownwardAPIVolumeSourceDefaultMode int32 = 0644
)
const GroupName = ""

GroupName is the group name use in this package

const MaxSecretSize = 1 * 1024 * 1024
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 RegisterDeepCopies Uses

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.

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

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

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

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

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

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

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

type Binding Uses

type Binding struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // More info: https://git.k8s.io/community/contributors/devel/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) 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

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

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://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/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) 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

type CephFSVolumeSource Uses

type CephFSVolumeSource struct {
    // Required: Monitors is a collection of Ceph monitors
    // More info: https://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/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) 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

type CinderVolumeSource Uses

type CinderVolumeSource struct {
    // volume id used to identify the volume in cinder
    // More info: https://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
    // +optional
    ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"`
}

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

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

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

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

type ComponentStatusList Uses

type ComponentStatusList struct {
    metav1.TypeMeta `json:",inline"`
    // Standard list metadata.
    // More info: https://git.k8s.io/community/contributors/devel/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) 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

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/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 '.'.
    // +optional
    Data map[string]string `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"`
}

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

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

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 it's 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) 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

type ConfigMapList Uses

type ConfigMapList struct {
    metav1.TypeMeta `json:",inline"`

    // More info: https://git.k8s.io/community/contributors/devel/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) 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

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 it's 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) 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

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 it's 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) 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

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
    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/storage/persistent-volumes#resources
    // +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"`
    // 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"`
    // 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://git.k8s.io/community/contributors/design-proposals/security_context.md
    // +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) 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

type ContainerImage Uses

type ContainerImage struct {
    // Names by which this image is known.
    // e.g. ["gcr.io/google_containers/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) 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

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 or TCP.
    // 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) 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

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

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

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

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

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"`
}

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

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"

    DefaultTerminationGracePeriodSeconds = 30
)

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

type DeleteOptions Uses

type DeleteOptions struct {
    metav1.TypeMeta `json:",inline"`

    // The duration in seconds before the object should be deleted. Value must be non-negative integer.
    // The value zero indicates delete immediately. If this value is nil, the default grace period for the
    // specified type will be used.
    // Defaults to a per object value if not specified. zero means delete immediately.
    // +optional
    GracePeriodSeconds *int64 `json:"gracePeriodSeconds,omitempty" protobuf:"varint,1,opt,name=gracePeriodSeconds"`

    // Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
    // returned.
    // +optional
    Preconditions *Preconditions `json:"preconditions,omitempty" protobuf:"bytes,2,opt,name=preconditions"`

    // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
    // Should the dependent objects be orphaned. If true/false, the "orphan"
    // finalizer will be added to/removed from the object's finalizers list.
    // Either this field or PropagationPolicy may be set, but not both.
    // +optional
    OrphanDependents *bool `json:"orphanDependents,omitempty" protobuf:"varint,3,opt,name=orphanDependents"`

    // Whether and how garbage collection will be performed.
    // Either this field or OrphanDependents may be set, but not both.
    // The default policy is decided by the existing finalizer set in the
    // metadata.finalizers and the resource-specific default policy.
    // +optional
    PropagationPolicy *DeletionPropagation `protobuf:"bytes,4,opt,name=propagationPolicy,casttype=DeletionPropagation"`
}

DeleteOptions may be provided when deleting an API object DEPRECATED: This type has been moved to meta/v1 and will be removed soon. +k8s:openapi-gen=false

func (*DeleteOptions) DeepCopy Uses

func (in *DeleteOptions) DeepCopy() *DeleteOptions

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

func (*DeleteOptions) DeepCopyInto Uses

func (in *DeleteOptions) DeepCopyInto(out *DeleteOptions)

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

func (*DeleteOptions) DeepCopyObject Uses

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

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

func (*DeleteOptions) Descriptor Uses

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

func (*DeleteOptions) Marshal Uses

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

func (*DeleteOptions) MarshalTo Uses

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

func (*DeleteOptions) ProtoMessage Uses

func (*DeleteOptions) ProtoMessage()

func (*DeleteOptions) Reset Uses

func (m *DeleteOptions) Reset()

func (*DeleteOptions) Size Uses

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

func (*DeleteOptions) String Uses

func (this *DeleteOptions) String() string

func (DeleteOptions) SwaggerDoc Uses

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

func (*DeleteOptions) Unmarshal Uses

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

type DeletionPropagation Uses

type DeletionPropagation string

DeletionPropagation decides if a deletion will propagate to the dependents of the object, and how the garbage collector will handle the propagation.

const (
    // Orphans the dependents.
    DeletePropagationOrphan DeletionPropagation = "Orphan"
    // Deletes the object from the key-value store, the garbage collector will delete the dependents in the background.
    DeletePropagationBackground DeletionPropagation = "Background"
    // The object exists in the key-value store until the garbage collector deletes all the dependents whose ownerReference.blockOwnerDeletion=true from the key-value store.
    // API sever will put the "DeletingDependents" finalizer on the object, and sets its deletionTimestamp.
    // This policy is cascading, i.e., the dependents will be deleted with Foreground.
    DeletePropagationForeground DeletionPropagation = "Foreground"
)

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) ProtoMessage Uses

func (*DownwardAPIProjection) ProtoMessage()

func (*DownwardAPIProjection) Reset Uses

func (m *DownwardAPIProjection) Reset()

func (*DownwardAPIProjection) Size Uses

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

func (*DownwardAPIProjection) String Uses

func (this *DownwardAPIProjection) String() string

func (DownwardAPIProjection) SwaggerDoc Uses

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

func (*DownwardAPIProjection) Unmarshal Uses

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

type DownwardAPIVolumeFile Uses

type DownwardAPIVolumeFile struct {
    // Required: Path is  the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
    Path string `json:"path" protobuf:"bytes,1,opt,name=path"`
    // Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
    // +optional
    FieldRef *ObjectFieldSelector `json:"fieldRef,omitempty" protobuf:"bytes,2,opt,name=fieldRef"`
    // Selects a resource of the container: only resources limits and requests
    // (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
    // +optional
    ResourceFieldRef *ResourceFieldSelector `json:"resourceFieldRef,omitempty" protobuf:"bytes,3,opt,name=resourceFieldRef"`
    // Optional: mode bits to use on this file, must be a value between 0
    // and 0777. If not specified, the volume defaultMode will be used.
    // This might be in conflict with other options that affect the file
    // mode, like fsGroup, and the result can be other mode bits set.
    // +optional
    Mode *int32 `json:"mode,omitempty" protobuf:"varint,4,opt,name=mode"`
}

DownwardAPIVolumeFile represents information to create the file containing the pod field

func (*DownwardAPIVolumeFile) DeepCopy Uses

func (in *DownwardAPIVolumeFile) DeepCopy() *DownwardAPIVolumeFile

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

func (*DownwardAPIVolumeFile) DeepCopyInto Uses

func (in *DownwardAPIVolumeFile) DeepCopyInto(out *DownwardAPIVolumeFile)

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

func (*DownwardAPIVolumeFile) Descriptor Uses

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

func (*DownwardAPIVolumeFile) Marshal Uses

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

func (*DownwardAPIVolumeFile) MarshalTo Uses

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

func (*DownwardAPIVolumeFile) ProtoMessage Uses

func (*DownwardAPIVolumeFile) ProtoMessage()

func (*DownwardAPIVolumeFile) Reset Uses

func (m *DownwardAPIVolumeFile) Reset()

func (*DownwardAPIVolumeFile) Size Uses

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

func (*DownwardAPIVolumeFile) String Uses

func (this *DownwardAPIVolumeFile) String() string

func (DownwardAPIVolumeFile) SwaggerDoc Uses

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

func (*DownwardAPIVolumeFile) Unmarshal Uses

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

type DownwardAPIVolumeSource Uses

type DownwardAPIVolumeSource struct {
    // Items is a list of downward API volume file
    // +optional
    Items []DownwardAPIVolumeFile `json:"items,omitempty" protobuf:"bytes,1,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,2,opt,name=defaultMode"`
}

DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.

func (*DownwardAPIVolumeSource) DeepCopy Uses

func (in *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource

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

func (*DownwardAPIVolumeSource) DeepCopyInto Uses

func (in *DownwardAPIVolumeSource) DeepCopyInto(out *DownwardAPIVolumeSource)

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

func (*DownwardAPIVolumeSource) Descriptor Uses

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

func (*DownwardAPIVolumeSource) Marshal Uses

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

func (*DownwardAPIVolumeSource) MarshalTo Uses

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

func (*DownwardAPIVolumeSource) ProtoMessage Uses

func (*DownwardAPIVolumeSource) ProtoMessage()

func (*DownwardAPIVolumeSource) Reset Uses

func (m *DownwardAPIVolumeSource) Reset()

func (*DownwardAPIVolumeSource) Size Uses

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

func (*DownwardAPIVolumeSource) String Uses

func (this *DownwardAPIVolumeSource) String() string

func (DownwardAPIVolumeSource) SwaggerDoc Uses

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

func (*DownwardAPIVolumeSource) Unmarshal Uses

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

type EmptyDirVolumeSource Uses

type EmptyDirVolumeSource struct {
    // What type of storage medium should back this directory.
    // The default is "" which means to use the node's default medium.
    // Must be an empty string (default) or Memory.
    // More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
    // +optional
    Medium StorageMedium `json:"medium,omitempty" protobuf:"bytes,1,opt,name=medium,casttype=StorageMedium"`
    // Total amount of local storage required for this EmptyDir volume.
    // The size limit is also applicable for memory medium.
    // The maximum usage on memory medium EmptyDir would be the minimum value between
    // the SizeLimit specified here and the sum of memory limits of all containers in a pod.
    // The default is nil which means that the limit is undefined.
    // More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
    // +optional
    SizeLimit *resource.Quantity `json:"sizeLimit,omitempty" protobuf:"bytes,2,opt,name=sizeLimit"`
}

Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.

func (*EmptyDirVolumeSource) DeepCopy Uses

func (in *EmptyDirVolumeSource) DeepCopy() *EmptyDirVolumeSource

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

func (*EmptyDirVolumeSource) DeepCopyInto Uses

func (in *EmptyDirVolumeSource) DeepCopyInto(out *EmptyDirVolumeSource)

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

func (*EmptyDirVolumeSource) Descriptor Uses

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

func (*EmptyDirVolumeSource) Marshal Uses

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

func (*EmptyDirVolumeSource) MarshalTo Uses

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

func (*EmptyDirVolumeSource) ProtoMessage Uses

func (*EmptyDirVolumeSource) ProtoMessage()

func (*EmptyDirVolumeSource) Reset Uses

func (m *EmptyDirVolumeSource) Reset()

func (*EmptyDirVolumeSource) Size Uses

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

func (*EmptyDirVolumeSource) String Uses

func (this *EmptyDirVolumeSource) String() string

func (EmptyDirVolumeSource) SwaggerDoc Uses

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

func (*EmptyDirVolumeSource) Unmarshal Uses

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

type EndpointAddress Uses

type EndpointAddress struct {
    // The IP of this endpoint.
    // May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16),
    // or link-local multicast ((224.0.0.0/24).
    // IPv6 is also accepted but not fully supported on all platforms. Also, certain
    // kubernetes components, like kube-proxy, are not IPv6 ready.
    // TODO: This should allow hostname or IP, See #4447.
    IP  string `json:"ip" protobuf:"bytes,1,opt,name=ip"`
    // The Hostname of this endpoint
    // +optional
    Hostname string `json:"hostname,omitempty" protobuf:"bytes,3,opt,name=hostname"`
    // Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
    // +optional
    NodeName *string `json:"nodeName,omitempty" protobuf:"bytes,4,opt,name=nodeName"`
    // Reference to object providing the endpoint.
    // +optional
    TargetRef *ObjectReference `json:"targetRef,omitempty" protobuf:"bytes,2,opt,name=targetRef"`
}

EndpointAddress is a tuple that describes single IP address.

func (*EndpointAddress) DeepCopy Uses

func (in *EndpointAddress) DeepCopy() *EndpointAddress

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

func (*EndpointAddress) DeepCopyInto Uses

func (in *EndpointAddress) DeepCopyInto(out *EndpointAddress)

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

func (*EndpointAddress) Descriptor Uses

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

func (*EndpointAddress) Marshal Uses

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

func (*EndpointAddress) MarshalTo Uses

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

func (*EndpointAddress) ProtoMessage Uses

func (*EndpointAddress) ProtoMessage()

func (*EndpointAddress) Reset Uses

func (m *EndpointAddress) Reset()

func (*EndpointAddress) Size Uses

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

func (*EndpointAddress) String Uses

func (this *EndpointAddress) String() string

func (EndpointAddress) SwaggerDoc Uses

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

func (*EndpointAddress) Unmarshal Uses

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

type EndpointPort Uses

type EndpointPort struct {
    // The name of this port (corresponds to ServicePort.Name).
    // Must be a DNS_LABEL.
    // Optional only if one port is defined.
    // +optional
    Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

    // The port number of the endpoint.
    Port int32 `json:"port" protobuf:"varint,2,opt,name=port"`

    // The IP protocol for this port.
    // Must be UDP or TCP.
    // Default is TCP.
    // +optional
    Protocol Protocol `json:"protocol,omitempty" protobuf:"bytes,3,opt,name=protocol,casttype=Protocol"`
}

EndpointPort is a tuple that describes a single port.

func (*EndpointPort) DeepCopy Uses

func (in *EndpointPort) DeepCopy() *EndpointPort

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

func (*EndpointPort) DeepCopyInto Uses

func (in *EndpointPort) DeepCopyInto(out *EndpointPort)

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

func (*EndpointPort) Descriptor Uses

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

func (*EndpointPort) Marshal Uses

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

func (*EndpointPort) MarshalTo Uses

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

func (*EndpointPort) ProtoMessage Uses

func (*EndpointPort) ProtoMessage()

func (*EndpointPort) Reset Uses

func (m *EndpointPort) Reset()

func (*EndpointPort) Size Uses

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

func (*EndpointPort) String Uses

func (this *EndpointPort) String() string

func (EndpointPort) SwaggerDoc Uses

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

func (*EndpointPort) Unmarshal Uses

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

type EndpointSubset Uses

type EndpointSubset struct {
    // IP addresses which offer the related ports that are marked as ready. These endpoints
    // should be considered safe for load balancers and clients to utilize.
    // +optional
    Addresses []EndpointAddress `json:"addresses,omitempty" protobuf:"bytes,1,rep,name=addresses"`
    // IP addresses which offer the related ports but are not currently marked as ready
    // because they have not yet finished starting, have recently failed a readiness check,
    // or have recently failed a liveness check.
    // +optional
    NotReadyAddresses []EndpointAddress `json:"notReadyAddresses,omitempty" protobuf:"bytes,2,rep,name=notReadyAddresses"`
    // Port numbers available on the related IP addresses.
    // +optional
    Ports []EndpointPort `json:"ports,omitempty" protobuf:"bytes,3,rep,name=ports"`
}

EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:

{
  Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
  Ports:     [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
}

The resulting set of endpoints can be viewed as:

a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
b: [ 10.10.1.1:309, 10.10.2.2:309 ]

func (*EndpointSubset) DeepCopy Uses

func (in *EndpointSubset) DeepCopy() *EndpointSubset

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

func (*EndpointSubset) DeepCopyInto Uses

func (in *EndpointSubset) DeepCopyInto(out *EndpointSubset)

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

func (*EndpointSubset) Descriptor Uses

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

func (*EndpointSubset) Marshal Uses

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

func (*EndpointSubset) MarshalTo Uses

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

func (*EndpointSubset) ProtoMessage Uses

func (*EndpointSubset) ProtoMessage()

func (*EndpointSubset) Reset Uses

func (m *EndpointSubset) Reset()

func (*EndpointSubset) Size Uses

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

func (*EndpointSubset) String Uses

func (this *EndpointSubset) String() string

func (EndpointSubset) SwaggerDoc Uses

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

func (*EndpointSubset) Unmarshal Uses

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

type Endpoints Uses

type Endpoints struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // The set of all endpoints is the union of all subsets. Addresses are placed into
    // subsets according to the IPs they share. A single address with multiple ports,
    // some of which are ready and some of which are not (because they come from
    // different containers) will result in the address being displayed in different
    // subsets for the different ports. No address will appear in both Addresses and
    // NotReadyAddresses in the same subset.
    // Sets of addresses and ports that comprise a service.
    Subsets []EndpointSubset `json:"subsets" protobuf:"bytes,2,rep,name=subsets"`
}

Endpoints is a collection of endpoints that implement the actual service. Example:

 Name: "mysvc",
 Subsets: [
   {
     Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
     Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
   },
   {
     Addresses: [{"ip": "10.10.3.3"}],
     Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
   },
]

func (*Endpoints) DeepCopy Uses

func (in *Endpoints) DeepCopy() *Endpoints

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

func (*Endpoints) DeepCopyInto Uses

func (in *Endpoints) DeepCopyInto(out *Endpoints)

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

func (*Endpoints) DeepCopyObject Uses

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

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

func (*Endpoints) Descriptor Uses

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

func (*Endpoints) Marshal Uses

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

func (*Endpoints) MarshalTo Uses

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

func (*Endpoints) ProtoMessage Uses

func (*Endpoints) ProtoMessage()

func (*Endpoints) Reset Uses

func (m *Endpoints) Reset()

func (*Endpoints) Size Uses

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

func (*Endpoints) String Uses

func (this *Endpoints) String() string

func (Endpoints) SwaggerDoc Uses

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

func (*Endpoints) Unmarshal Uses

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

type EndpointsList Uses

type EndpointsList struct {
    metav1.TypeMeta `json:",inline"`
    // Standard list metadata.
    // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
    // +optional
    metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // List of endpoints.
    Items []Endpoints `json:"items" protobuf:"bytes,2,rep,name=items"`
}

EndpointsList is a list of endpoints.

func (*EndpointsList) DeepCopy Uses

func (in *EndpointsList) DeepCopy() *EndpointsList

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

func (*EndpointsList) DeepCopyInto Uses

func (in *EndpointsList) DeepCopyInto(out *EndpointsList)

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

func (*EndpointsList) DeepCopyObject Uses

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

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

func (*EndpointsList) Descriptor Uses

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

func (*EndpointsList) Marshal Uses

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

func (*EndpointsList) MarshalTo Uses

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

func (*EndpointsList) ProtoMessage Uses

func (*EndpointsList) ProtoMessage()

func (*EndpointsList) Reset Uses

func (m *EndpointsList) Reset()

func (*EndpointsList) Size Uses

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

func (*EndpointsList) String Uses

func (this *EndpointsList) String() string

func (EndpointsList) SwaggerDoc Uses

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

func (*EndpointsList) Unmarshal Uses

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

type EnvFromSource Uses

type EnvFromSource struct {
    // An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
    // +optional
    Prefix string `json:"prefix,omitempty" protobuf:"bytes,1,opt,name=prefix"`
    // The ConfigMap to select from
    // +optional
    ConfigMapRef *ConfigMapEnvSource `json:"configMapRef,omitempty" protobuf:"bytes,2,opt,name=configMapRef"`
    // The Secret to select from
    // +optional
    SecretRef *SecretEnvSource `json:"secretRef,omitempty" protobuf:"bytes,3,opt,name=secretRef"`
}

EnvFromSource represents the source of a set of ConfigMaps

func (*EnvFromSource) DeepCopy Uses

func (in *EnvFromSource) DeepCopy() *EnvFromSource

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

func (*EnvFromSource) DeepCopyInto Uses

func (in *EnvFromSource) DeepCopyInto(out *EnvFromSource)

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

func (*EnvFromSource) Descriptor Uses

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

func (*EnvFromSource) Marshal Uses

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

func (*EnvFromSource) MarshalTo Uses

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

func (*EnvFromSource) ProtoMessage Uses

func (*EnvFromSource) ProtoMessage()

func (*EnvFromSource) Reset Uses

func (m *EnvFromSource) Reset()

func (*EnvFromSource) Size Uses

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

func (*EnvFromSource) String Uses

func (this *EnvFromSource) String() string

func (EnvFromSource) SwaggerDoc Uses

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

func (*EnvFromSource) Unmarshal Uses

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

type EnvVar Uses

type EnvVar struct {
    // Name of the environment variable. Must be a C_IDENTIFIER.
    Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

    // Variable references $(VAR_NAME) are expanded
    // using the previous defined environment variables in the container and
    // any service environment variables. If a variable cannot be resolved,
    // the reference in the input string will be unchanged. The $(VAR_NAME)
    // syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
    // references will never be expanded, regardless of whether the variable
    // exists or not.
    // Defaults to "".
    // +optional
    Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
    // Source for the environment variable's value. Cannot be used if value is not empty.
    // +optional
    ValueFrom *EnvVarSource `json:"valueFrom,omitempty" protobuf:"bytes,3,opt,name=valueFrom"`
}

EnvVar represents an environment variable present in a Container.

func (*EnvVar) DeepCopy Uses

func (in *EnvVar) DeepCopy() *EnvVar

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

func (*EnvVar) DeepCopyInto Uses

func (in *EnvVar) DeepCopyInto(out *EnvVar)

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

func (*EnvVar) Descriptor Uses

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

func (*EnvVar) Marshal Uses

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

func (*EnvVar) MarshalTo Uses

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

func (*EnvVar) ProtoMessage Uses

func (*EnvVar) ProtoMessage()

func (*EnvVar) Reset Uses

func (m *EnvVar) Reset()

func (*EnvVar) Size Uses

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

func (*EnvVar) String Uses

func (this *EnvVar) String() string

func (EnvVar) SwaggerDoc Uses

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

func (*EnvVar) Unmarshal Uses

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

type EnvVarSource Uses

type EnvVarSource struct {
    // Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations,
    // spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
    // +optional
    FieldRef *ObjectFieldSelector `json:"fieldRef,omitempty" protobuf:"bytes,1,opt,name=fieldRef"`
    // Selects a resource of the container: only resources limits and requests
    // (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
    // +optional
    ResourceFieldRef *ResourceFieldSelector `json:"resourceFieldRef,omitempty" protobuf:"bytes,2,opt,name=resourceFieldRef"`
    // Selects a key of a ConfigMap.
    // +optional
    ConfigMapKeyRef *ConfigMapKeySelector `json:"configMapKeyRef,omitempty" protobuf:"bytes,3,opt,name=configMapKeyRef"`
    // Selects a key of a secret in the pod's namespace
    // +optional
    SecretKeyRef *SecretKeySelector `json:"secretKeyRef,omitempty" protobuf:"bytes,4,opt,name=secretKeyRef"`
}

EnvVarSource represents a source for the value of an EnvVar.

func (*EnvVarSource) DeepCopy Uses

func (in *EnvVarSource) DeepCopy() *EnvVarSource

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

func (*EnvVarSource) DeepCopyInto Uses

func (in *EnvVarSource) DeepCopyInto(out *EnvVarSource)

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

func (*EnvVarSource) Descriptor Uses

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

func (*EnvVarSource) Marshal Uses

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

func (*EnvVarSource) MarshalTo Uses

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

func (*EnvVarSource) ProtoMessage Uses

func (*EnvVarSource) ProtoMessage()

func (*EnvVarSource) Reset Uses

func (m *EnvVarSource) Reset()

func (*EnvVarSource) Size Uses

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

func (*EnvVarSource) String Uses

func (this *EnvVarSource) String() string

func (EnvVarSource) SwaggerDoc Uses

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

func (*EnvVarSource) Unmarshal Uses

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

type Event Uses

type Event struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
    metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`

    // The object that this event is about.
    InvolvedObject ObjectReference `json:"involvedObject" protobuf:"bytes,2,opt,name=involvedObject"`

    // This should be a short, machine understandable string that gives the reason
    // for the transition into the object's current status.
    // TODO: provide exact specification for format.
    // +optional
    Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`

    // A human-readable description of the status of this operation.
    // TODO: decide on maximum length.
    // +optional
    Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`

    // The component reporting this event. Should be a short machine understandable string.
    // +optional
    Source EventSource `json:"source,omitempty" protobuf:"bytes,5,opt,name=source"`

    // The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)
    // +optional
    FirstTimestamp metav1.Time `json:"firstTimestamp,omitempty" protobuf:"bytes,6,opt,name=firstTimestamp"`

    // The time at which the most recent occurrence of this event was recorded.
    // +optional
    LastTimestamp metav1.Time `json:"lastTimestamp,omitempty" protobuf:"bytes,7,opt,name=lastTimestamp"`

    // The number of times this event has occurred.
    // +optional
    Count int32 `json:"count,omitempty" protobuf:"varint,8,opt,name=count"`

    // Type of this event (Normal, Warning), new types could be added in the future
    // +optional
    Type string `json:"type,omitempty" protobuf:"bytes,9,opt,name=type"`
}

Event is a report of an event somewhere in the cluster. TODO: Decide whether to store these separately or with the object they apply to.

func (*Event) DeepCopy Uses

func (in *Event) DeepCopy() *Event

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

func (*Event) DeepCopyInto Uses

func (in *Event) DeepCopyInto(out *Event)

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

func (*Event) DeepCopyObject Uses

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

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

func (*Event) Descriptor Uses

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

func (*Event) Marshal Uses

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

func (*Event) MarshalTo Uses

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

func (*Event) ProtoMessage Uses

func (*Event) ProtoMessage()

func (*Event) Reset Uses

func (m *Event) Reset()

func (*Event) Size Uses

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

func (*Event) String Uses

func (this *Event) String() string

func (Event) SwaggerDoc Uses

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

func (*Event) Unmarshal Uses

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

type EventList Uses

type EventList struct {
    metav1.TypeMeta `json:",inline"`
    // Standard list metadata.
    // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
    // +optional
    metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // List of events
    Items []Event `json:"items" protobuf:"bytes,2,rep,name=items"`
}

EventList is a list of events.

func (*EventList) DeepCopy Uses

func (in *EventList) DeepCopy() *EventList

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

func (*EventList) DeepCopyInto Uses

func (in *EventList) DeepCopyInto(out *EventList)

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

func (*EventList) DeepCopyObject Uses

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

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

func (*EventList) Descriptor Uses

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

func (*EventList) Marshal Uses

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

func (*EventList) MarshalTo Uses

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

func (*EventList) ProtoMessage Uses

func (*EventList) ProtoMessage()

func (*EventList) Reset Uses

func (m *EventList) Reset()

func (*EventList) Size Uses

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

func (*EventList) String Uses

func (this *EventList) String() string

func (EventList) SwaggerDoc Uses

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

func (*EventList) Unmarshal Uses

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

type EventSource Uses

type EventSource struct {
    // Component from which the event is generated.
    // +optional
    Component string `json:"component,omitempty" protobuf:"bytes,1,opt,name=component"`
    // Node name on which the event is generated.
    // +optional
    Host string `json:"host,omitempty" protobuf:"bytes,2,opt,name=host"`
}

EventSource contains information for an event.

func (*EventSource) DeepCopy Uses

func (in *EventSource) DeepCopy() *EventSource

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

func (*EventSource) DeepCopyInto Uses

func (in *EventSource) DeepCopyInto(out *EventSource)

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

func (*EventSource) Descriptor Uses

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

func (*EventSource) Marshal Uses

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

func (*EventSource) MarshalTo Uses

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

func (*EventSource) ProtoMessage Uses

func (*EventSource) ProtoMessage()

func (*EventSource) Reset Uses

func (m *EventSource) Reset()

func (*EventSource) Size Uses

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

func (*EventSource) String Uses

func (this *EventSource) String() string

func (EventSource) SwaggerDoc Uses

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

func (*EventSource) Unmarshal Uses

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

type ExecAction Uses

type ExecAction struct {
    // Command is the command line to execute inside the container, the working directory for the
    // command  is root ('/') in the container's filesystem. The command is simply exec'd, it is
    // not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
    // a shell, you need to explicitly call out to that shell.
    // Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
    // +optional
    Command []string `json:"command,omitempty" protobuf:"bytes,1,rep,name=command"`
}

ExecAction describes a "run in container" action.

func (*ExecAction) DeepCopy Uses

func (in *ExecAction) DeepCopy() *ExecAction

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

func (*ExecAction) DeepCopyInto Uses

func (in *ExecAction) DeepCopyInto(out *ExecAction)

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

func (*ExecAction) Descriptor Uses

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

func (*ExecAction) Marshal Uses

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

func (*ExecAction) MarshalTo Uses

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

func (*ExecAction) ProtoMessage Uses

func (*ExecAction) ProtoMessage()

func (*ExecAction) Reset Uses

func (m *ExecAction) Reset()

func (*ExecAction) Size Uses

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

func (*ExecAction) String Uses

func (this *ExecAction) String() string

func (ExecAction) SwaggerDoc Uses

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

func (*ExecAction) Unmarshal Uses

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

type FCVolumeSource Uses

type FCVolumeSource struct {
    // Optional: FC target worldwide names (WWNs)
    // +optional
    TargetWWNs []string `json:"targetWWNs,omitempty" protobuf:"bytes,1,rep,name=targetWWNs"`
    // Optional: FC target lun number
    // +optional
    Lun *int32 `json:"lun,omitempty" protobuf:"varint,2,opt,name=lun"`
    // 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.
    // TODO: how do we prevent errors in the filesystem from compromising the machine
    // +optional
    FSType string `json:"fsType,omitempty" protobuf:"bytes,3,opt,name=fsType"`
    // Optional: Defaults to false (read/write). ReadOnly here will force
    // the ReadOnly setting in VolumeMounts.
    // +optional
    ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,4,opt,name=readOnly"`
    // Optional: FC volume world wide identifiers (wwids)
    // Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
    // +optional
    WWIDs []string `json:"wwids,omitempty" protobuf:"bytes,5,rep,name=wwids"`
}

Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.

func (*FCVolumeSource) DeepCopy Uses

func (in *FCVolumeSource) DeepCopy() *FCVolumeSource

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

func (*FCVolumeSource) DeepCopyInto Uses

func (in *FCVolumeSource) DeepCopyInto(out *FCVolumeSource)

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

func (*FCVolumeSource) Descriptor Uses

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

func (*FCVolumeSource) Marshal Uses

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

func (*FCVolumeSource) MarshalTo Uses

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

func (*FCVolumeSource) ProtoMessage Uses

func (*FCVolumeSource) ProtoMessage()

func (*FCVolumeSource) Reset Uses

func (m *FCVolumeSource) Reset()

func (*FCVolumeSource) Size Uses

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

func (*FCVolumeSource) String Uses

func (this *FCVolumeSource) String() string

func (FCVolumeSource) SwaggerDoc Uses

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

func (*FCVolumeSource) Unmarshal Uses

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

type FinalizerName Uses

type FinalizerName string

FinalizerName is the name identifying a finalizer during namespace lifecycle.

const (
    FinalizerKubernetes FinalizerName = "kubernetes"
)

These are internal finalizer values to Kubernetes, must be qualified name unless defined here or in metav1.

type FlexVolumeSource Uses

type FlexVolumeSource struct {
    // Driver is the name of the driver to use for this volume.
    Driver string `json:"driver" protobuf:"bytes,1,opt,name=driver"`
    // Filesystem type to mount.
    // Must be a filesystem type supported by the host operating system.
    // Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
    // +optional
    FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"`
    // Optional: SecretRef is reference to the secret object containing
    // sensitive information to pass to the plugin scripts. This may be
    // empty if no secret object is specified. If the secret object
    // contains more than one secret, all secrets are passed to the plugin
    // scripts.
    // +optional
    SecretRef *LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,3,opt,name=secretRef"`
    // Optional: Defaults to false (read/write). ReadOnly here will force
    // the ReadOnly setting in VolumeMounts.
    // +optional
    ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,4,opt,name=readOnly"`
    // Optional: Extra command options if any.
    // +optional
    Options map[string]string `json:"options,omitempty" protobuf:"bytes,5,rep,name=options"`
}

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.

func (*FlexVolumeSource) DeepCopy Uses

func (in *FlexVolumeSource) DeepCopy() *FlexVolumeSource

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

func (*FlexVolumeSource) DeepCopyInto Uses

func (in *FlexVolumeSource) DeepCopyInto(out *FlexVolumeSource)

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

func (*FlexVolumeSource) Descriptor Uses

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

func (*FlexVolumeSource) Marshal Uses

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

func (*FlexVolumeSource) MarshalTo Uses

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

func (*FlexVolumeSource) ProtoMessage Uses

func (*FlexVolumeSource) ProtoMessage()

func (*FlexVolumeSource) Reset Uses

func (m *FlexVolumeSource) Reset()

func (*FlexVolumeSource) Size Uses

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

func (*FlexVolumeSource) String Uses

func (this *FlexVolumeSource) String() string

func (FlexVolumeSource) SwaggerDoc Uses

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

func (*FlexVolumeSource) Unmarshal Uses

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

type FlockerVolumeSource Uses

type FlockerVolumeSource struct {
    // Name of the dataset stored as metadata -> name on the dataset for Flocker
    // should be considered as deprecated
    // +optional
    DatasetName string `json:"datasetName,omitempty" protobuf:"bytes,1,opt,name=datasetName"`
    // UUID of the dataset. This is unique identifier of a Flocker dataset
    // +optional
    DatasetUUID string `json:"datasetUUID,omitempty" protobuf:"bytes,2,opt,name=datasetUUID"`
}

Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.

func (*FlockerVolumeSource) DeepCopy Uses

func (in *FlockerVolumeSource) DeepCopy() *FlockerVolumeSource

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

func (*FlockerVolumeSource) DeepCopyInto Uses

func (in *FlockerVolumeSource) DeepCopyInto(out *FlockerVolumeSource)

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

func (*FlockerVolumeSource) Descriptor Uses

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

func (*FlockerVolumeSource) Marshal Uses

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

func (*FlockerVolumeSource) MarshalTo Uses

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

func (*FlockerVolumeSource) ProtoMessage Uses

func (*FlockerVolumeSource) ProtoMessage()

func (*FlockerVolumeSource) Reset Uses

func (m *FlockerVolumeSource) Reset()

func (*FlockerVolumeSource) Size Uses

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

func (*FlockerVolumeSource) String Uses

func (this *FlockerVolumeSource) String() string

func (FlockerVolumeSource) SwaggerDoc Uses

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

func (*FlockerVolumeSource) Unmarshal Uses

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

type GCEPersistentDiskVolumeSource Uses

type GCEPersistentDiskVolumeSource struct {
    // Unique name of the PD resource in GCE. Used to identify the disk in GCE.
    // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
    PDName string `json:"pdName" protobuf:"bytes,1,opt,name=pdName"`
    // Filesystem type of the volume that you want to mount.
    // Tip: Ensure that the filesystem type is supported by the host operating system.
    // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
    // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
    // 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).
    // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
    // +optional
    Partition int32 `json:"partition,omitempty" protobuf:"varint,3,opt,name=partition"`
    // ReadOnly here will force the ReadOnly setting in VolumeMounts.
    // Defaults to false.
    // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
    // +optional
    ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,4,opt,name=readOnly"`
}

Represents a Persistent Disk resource in Google Compute Engine.

A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.

func (*GCEPersistentDiskVolumeSource) DeepCopy Uses

func (in *GCEPersistentDiskVolumeSource) DeepCopy() *GCEPersistentDiskVolumeSource

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

func (*GCEPersistentDiskVolumeSource) DeepCopyInto Uses

func (in *GCEPersistentDiskVolumeSource) DeepCopyInto(out *GCEPersistentDiskVolumeSource)

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

func (*GCEPersistentDiskVolumeSource) Descriptor Uses

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

func (*GCEPersistentDiskVolumeSource) Marshal Uses

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

func (*GCEPersistentDiskVolumeSource) MarshalTo Uses

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

func (*GCEPersistentDiskVolumeSource) ProtoMessage Uses

func (*GCEPersistentDiskVolumeSource) ProtoMessage()

func (*GCEPersistentDiskVolumeSource) Reset Uses

func (m *GCEPersistentDiskVolumeSource) Reset()

func (*GCEPersistentDiskVolumeSource) Size Uses

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

func (*GCEPersistentDiskVolumeSource) String Uses

func (this *GCEPersistentDiskVolumeSource) String() string

func (GCEPersistentDiskVolumeSource) SwaggerDoc Uses

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

func (*GCEPersistentDiskVolumeSource) Unmarshal Uses

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

type GitRepoVolumeSource Uses

type GitRepoVolumeSource struct {
    // Repository URL
    Repository string `json:"repository" protobuf:"bytes,1,opt,name=repository"`
    // Commit hash for the specified revision.
    // +optional
    Revision string `json:"revision,omitempty" protobuf:"bytes,2,opt,name=revision"`
    // Target directory name.
    // Must not contain or start with '..'.  If '.' is supplied, the volume directory will be the
    // git repository.  Otherwise, if specified, the volume will contain the git repository in
    // the subdirectory with the given name.
    // +optional
    Directory string `json:"directory,omitempty" protobuf:"bytes,3,opt,name=directory"`
}

Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.

func (*GitRepoVolumeSource) DeepCopy Uses

func (in *GitRepoVolumeSource) DeepCopy() *GitRepoVolumeSource

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

func (*GitRepoVolumeSource) DeepCopyInto Uses

func (in *GitRepoVolumeSource) DeepCopyInto(out *GitRepoVolumeSource)

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

func (*GitRepoVolumeSource) Descriptor Uses

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

func (*GitRepoVolumeSource) Marshal Uses

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

func (*GitRepoVolumeSource) MarshalTo Uses

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

func (*GitRepoVolumeSource) ProtoMessage Uses

func (*GitRepoVolumeSource) ProtoMessage()

func (*GitRepoVolumeSource) Reset Uses

func (m *GitRepoVolumeSource) Reset()

func (*GitRepoVolumeSource) Size Uses

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

func (*GitRepoVolumeSource) String Uses

func (this *GitRepoVolumeSource) String() string

func (GitRepoVolumeSource) SwaggerDoc Uses

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

func (*GitRepoVolumeSource) Unmarshal Uses

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

type GlusterfsVolumeSource Uses

type GlusterfsVolumeSource struct {
    // EndpointsName is the endpoint name that details Glusterfs topology.
    // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
    EndpointsName string `json:"endpoints" protobuf:"bytes,1,opt,name=endpoints"`

    // Path is the Glusterfs volume path.
    // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
    Path string `json:"path" protobuf:"bytes,2,opt,name=path"`

    // ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
    // Defaults to false.
    // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
    // +optional
    ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"`
}

Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.

func (*GlusterfsVolumeSource) DeepCopy Uses

func (in *GlusterfsVolumeSource) DeepCopy() *GlusterfsVolumeSource

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

func (*GlusterfsVolumeSource) DeepCopyInto Uses

func (in *GlusterfsVolumeSource) DeepCopyInto(out *GlusterfsVolumeSource)

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

func (*GlusterfsVolumeSource) Descriptor Uses

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

func (*GlusterfsVolumeSource) Marshal Uses

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

func (*GlusterfsVolumeSource) MarshalTo Uses

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

func (*GlusterfsVolumeSource) ProtoMessage Uses

func (*GlusterfsVolumeSource) ProtoMessage()

func (*GlusterfsVolumeSource) Reset Uses

func (m *GlusterfsVolumeSource) Reset()

func (*GlusterfsVolumeSource) Size Uses

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

func (*GlusterfsVolumeSource) String Uses

func (this *GlusterfsVolumeSource) String() string

func (GlusterfsVolumeSource) SwaggerDoc Uses

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

func (*GlusterfsVolumeSource) Unmarshal Uses

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

type HTTPGetAction Uses

type HTTPGetAction struct {
    // Path to access on the HTTP server.
    // +optional
    Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"`
    // Name or number of the port to access on the container.
    // Number must be in the range 1 to 65535.
    // Name must be an IANA_SVC_NAME.
    Port intstr.IntOrString `json:"port" protobuf:"bytes,2,opt,name=port"`
    // Host name to connect to, defaults to the pod IP. You probably want to set
    // "Host" in httpHeaders instead.
    // +optional
    Host string `json:"host,omitempty" protobuf:"bytes,3,opt,name=host"`
    // Scheme to use for connecting to the host.
    // Defaults to HTTP.
    // +optional
    Scheme URIScheme `json:"scheme,omitempty" protobuf:"bytes,4,opt,name=scheme,casttype=URIScheme"`
    // Custom headers to set in the request. HTTP allows repeated headers.
    // +optional
    HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty" protobuf:"bytes,5,rep,name=httpHeaders"`
}

HTTPGetAction describes an action based on HTTP Get requests.

func (*HTTPGetAction) DeepCopy Uses

func (in *HTTPGetAction) DeepCopy() *HTTPGetAction

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

func (*HTTPGetAction) DeepCopyInto Uses

func (in *HTTPGetAction) DeepCopyInto(out *HTTPGetAction)

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

func (*HTTPGetAction) Descriptor Uses

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

func (*HTTPGetAction) Marshal Uses

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

func (*HTTPGetAction) MarshalTo Uses

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

func (*HTTPGetAction) ProtoMessage Uses

func (*HTTPGetAction) ProtoMessage()

func (*HTTPGetAction) Reset Uses

func (m *HTTPGetAction) Reset()

func (*HTTPGetAction) Size Uses

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

func (*HTTPGetAction) String Uses

func (this *HTTPGetAction) String() string

func (HTTPGetAction) SwaggerDoc Uses

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

func (*HTTPGetAction) Unmarshal Uses

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

type HTTPHeader Uses

type HTTPHeader struct {
    // The header field name
    Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
    // The header field value
    Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}

HTTPHeader describes a custom header to be used in HTTP probes

func (*HTTPHeader) DeepCopy Uses

func (in *HTTPHeader) DeepCopy() *HTTPHeader

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

func (*HTTPHeader) DeepCopyInto Uses

func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader)

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

func (*HTTPHeader) Descriptor Uses

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

func (*HTTPHeader) Marshal Uses

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

func (*HTTPHeader) MarshalTo Uses

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

func (*HTTPHeader) ProtoMessage Uses

func (*HTTPHeader) ProtoMessage()

func (*HTTPHeader) Reset Uses

func (m *HTTPHeader) Reset()

func (*HTTPHeader) Size Uses

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

func (*HTTPHeader) String Uses

func (this *HTTPHeader) String() string

func (HTTPHeader) SwaggerDoc Uses

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

func (*HTTPHeader) Unmarshal Uses

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

type Handler Uses

type Handler struct {
    // One and only one of the following should be specified.
    // Exec specifies the action to take.
    // +optional
    Exec *ExecAction `json:"exec,omitempty" protobuf:"bytes,1,opt,name=exec"`
    // HTTPGet specifies the http request to perform.
    // +optional
    HTTPGet *HTTPGetAction `json:"httpGet,omitempty" protobuf:"bytes,2,opt,name=httpGet"`
    // TCPSocket specifies an action involving a TCP port.
    // TCP hooks not yet supported
    // TODO: implement a realistic TCP lifecycle hook
    // +optional
    TCPSocket *TCPSocketAction `json:"tcpSocket,omitempty" protobuf:"bytes,3,opt,name=tcpSocket"`
}

Handler defines a specific action that should be taken TODO: pass structured data to these actions, and document that data here.

func (*Handler) DeepCopy Uses

func (in *Handler) DeepCopy() *Handler

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

func (*Handler) DeepCopyInto Uses

func (in *Handler) DeepCopyInto(out *Handler)

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

func (*Handler) Descriptor Uses

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

func (*Handler) Marshal Uses

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

func (*Handler) MarshalTo Uses

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

func (*Handler) ProtoMessage Uses

func (*Handler) ProtoMessage()

func (*Handler) Reset Uses

func (m *Handler) Reset()

func (*Handler) Size Uses

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

func (*Handler) String Uses

func (this *Handler) String() string

func (Handler) SwaggerDoc Uses

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

func (*Handler) Unmarshal Uses

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

type HostAlias Uses

type HostAlias struct {
    // IP address of the host file entry.
    IP  string `json:"ip,omitempty" protobuf:"bytes,1,opt,name=ip"`
    // Hostnames for the above IP address.
    Hostnames []string `json:"hostnames,omitempty" protobuf:"bytes,2,rep,name=hostnames"`
}

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

func (*HostAlias) DeepCopy Uses

func (in *HostAlias) DeepCopy() *HostAlias

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

func (*HostAlias) DeepCopyInto Uses

func (in *HostAlias) DeepCopyInto(out *HostAlias)

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

func (*HostAlias) Descriptor Uses

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

func (*HostAlias) Marshal Uses

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

func (*HostAlias) MarshalTo Uses

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

func (*HostAlias) ProtoMessage Uses

func (*HostAlias) ProtoMessage()

func (*HostAlias) Reset Uses

func (m *HostAlias) Reset()

func (*HostAlias) Size Uses

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

func (*HostAlias) String Uses

func (this *HostAlias) String() string

func (HostAlias) SwaggerDoc Uses

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

func (*HostAlias) Unmarshal Uses

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

type HostPathType Uses

type HostPathType string
const (
    // For backwards compatible, leave it empty if unset
    HostPathUnset HostPathType = ""
    // If nothing exists at the given path, an empty directory will be created there
    // as needed with file mode 0755, having the same group and ownership with Kubelet.
    HostPathDirectoryOrCreate HostPathType = "DirectoryOrCreate"
    // A directory must exist at the given path
    HostPathDirectory HostPathType = "Directory"
    // If nothing exists at the given path, an empty file will be created there
    // as needed with file mode 0644, having the same group and ownership with Kubelet.
    HostPathFileOrCreate HostPathType = "FileOrCreate"
    // A file must exist at the given path
    HostPathFile HostPathType = "File"
    // A UNIX socket must exist at the given path
    HostPathSocket HostPathType = "Socket"
    // A character device must exist at the given path
    HostPathCharDev HostPathType = "CharDevice"
    // A block device must exist at the given path
    HostPathBlockDev HostPathType = "BlockDevice"
)

type HostPathVolumeSource Uses

type HostPathVolumeSource struct {
    // Path of the directory on the host.
    // If the path is a symlink, it will follow the link to the real path.
    // More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
    Path string `json:"path" protobuf:"bytes,1,opt,name=path"`
    // Type for HostPath Volume
    // Defaults to ""
    // More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
    // +optional
    Type *HostPathType `json:"type,omitempty" protobuf:"bytes,2,opt,name=type"`
}

Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.

func (*HostPathVolumeSource) DeepCopy Uses

func (in *HostPathVolumeSource) DeepCopy() *HostPathVolumeSource

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

func (*HostPathVolumeSource) DeepCopyInto Uses

func (in *HostPathVolumeSource) DeepCopyInto(out *HostPathVolumeSource)

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

func (*HostPathVolumeSource) Descriptor Uses

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

func (*HostPathVolumeSource) Marshal Uses

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

func (*HostPathVolumeSource) MarshalTo Uses

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

func (*HostPathVolumeSource) ProtoMessage Uses

func (*HostPathVolumeSource) ProtoMessage()

func (*HostPathVolumeSource) Reset Uses

func (m *HostPathVolumeSource) Reset()

func (*HostPathVolumeSource) Size Uses

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

func (*HostPathVolumeSource) String Uses

func (this *HostPathVolumeSource) String() string

func (HostPathVolumeSource) SwaggerDoc Uses

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

func (*HostPathVolumeSource) Unmarshal Uses

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

type ISCSIVolumeSource Uses

type ISCSIVolumeSource struct {
    // iSCSI target portal. The portal is either an IP or ip_addr:port if the port
    // is other than default (typically TCP ports 860 and 3260).
    TargetPortal string `json:"targetPortal" protobuf:"bytes,1,opt,name=targetPortal"`
    // Target iSCSI Qualified Name.
    IQN string `json:"iqn" protobuf:"bytes,2,opt,name=iqn"`
    // iSCSI target lun number.
    Lun int32 `json:"lun" protobuf:"varint,3,opt,name=lun"`
    // Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.
    // +optional
    ISCSIInterface string `json:"iscsiInterface,omitempty" protobuf:"bytes,4,opt,name=iscsiInterface"`
    // Filesystem type of the volume that you want to mount.
    // Tip: Ensure that the filesystem type is supported by the host operating system.
    // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
    // More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
    // TODO: how do we prevent errors in the filesystem from compromising the machine
    // +optional
    FSType string `json:"fsType,omitempty" protobuf:"bytes,5,opt,name=fsType"`
    // ReadOnly here will force the ReadOnly setting in VolumeMounts.
    // Defaults to false.
    // +optional
    ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,6,opt,name=readOnly"`
    // iSCSI target portal List. The portal is either an IP or ip_addr:port if the port
    // is other than default (typically TCP ports 860 and 3260).
    // +optional
    Portals []string `json:"portals,omitempty" protobuf:"bytes,7,opt,name=portals"`
    // whether support iSCSI Discovery CHAP authentication
    // +optional
    DiscoveryCHAPAuth bool `json:"chapAuthDiscovery,omitempty" protobuf:"varint,8,opt,name=chapAuthDiscovery"`
    // whether support iSCSI Session CHAP authentication
    // +optional
    SessionCHAPAuth bool `json:"chapAuthSession,omitempty" protobuf:"varint,11,opt,name=chapAuthSession"`
    // CHAP secret for iSCSI target and initiator authentication
    // +optional
    SecretRef *LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,10,opt,name=secretRef"`
    // Custom iSCSI initiator name.
    // If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
    // <target portal>:<volume name> will be created for the connection.
    // +optional
    InitiatorName *string `json:"initiatorName,omitempty" protobuf:"bytes,12,opt,name=initiatorName"`
}

Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.

func (*ISCSIVolumeSource) DeepCopy Uses

func (in *ISCSIVolumeSource) DeepCopy() *ISCSIVolumeSource

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

func (*ISCSIVolumeSource) DeepCopyInto Uses

func (in *ISCSIVolumeSource) DeepCopyInto(out *ISCSIVolumeSource)

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

func (*ISCSIVolumeSource) Descriptor Uses

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

func (*ISCSIVolumeSource) Marshal Uses

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

func (*ISCSIVolumeSource) MarshalTo Uses

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

func (*ISCSIVolumeSource) ProtoMessage Uses

func (*ISCSIVolumeSource) ProtoMessage()

func (*ISCSIVolumeSource) Reset Uses

func (m *ISCSIVolumeSource) Reset()

func (*ISCSIVolumeSource) Size Uses

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

func (*ISCSIVolumeSource) String Uses

func (this *ISCSIVolumeSource) String() string

func (ISCSIVolumeSource) SwaggerDoc Uses

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

func (*ISCSIVolumeSource) Unmarshal Uses

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

type KeyToPath Uses

type KeyToPath struct {
    // The key to project.
    Key string `json:"key" protobuf:"bytes,1,opt,name=key"`

    // The relative path of the file to map the key to.
    // May not be an absolute path.
    // May not contain the path element '..'.
    // May not start with the string '..'.
    Path string `json:"path" protobuf:"bytes,2,opt,name=path"`
    // Optional: mode bits to use on this file, must be a value between 0
    // and 0777. If not specified, the volume defaultMode will be used.
    // This might be in conflict with other options that affect the file
    // mode, like fsGroup, and the result can be other mode bits set.
    // +optional
    Mode *int32 `json:"mode,omitempty" protobuf:"varint,3,opt,name=mode"`
}

Maps a string key to a path within a volume.

func (*KeyToPath) DeepCopy Uses

func (in *KeyToPath) DeepCopy() *KeyToPath

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

func (*KeyToPath) DeepCopyInto Uses

func (in *KeyToPath) DeepCopyInto(out *KeyToPath)

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

func (*KeyToPath) Descriptor Uses

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

func (*KeyToPath) Marshal Uses

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

func (*KeyToPath) MarshalTo Uses

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

func (*KeyToPath) ProtoMessage Uses

func (*KeyToPath) ProtoMessage()

func (*KeyToPath) Reset Uses

func (m *KeyToPath) Reset()

func (*KeyToPath) Size Uses

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

func (*KeyToPath) String Uses

func (this *KeyToPath) String() string

func (KeyToPath) SwaggerDoc Uses

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

func (*KeyToPath) Unmarshal Uses

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

type Lifecycle Uses

type Lifecycle struct {
    // PostStart is called immediately after a container is created. If the handler fails,
    // the container is terminated and restarted according to its restart policy.
    // Other management of the container blocks until the hook completes.
    // More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
    // +optional
    PostStart *Handler `json:"postStart,omitempty" protobuf:"bytes,1,opt,name=postStart"`
    // PreStop is called immediately before a container is terminated.
    // The container is terminated after the handler completes.
    // The reason for termination is passed to the handler.
    // Regardless of the outcome of the handler, the container is eventually terminated.
    // Other management of the container blocks until the hook completes.
    // More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
    // +optional
    PreStop *Handler `json:"preStop,omitempty" protobuf:"bytes,2,opt,name=preStop"`
}

Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.

func (*Lifecycle) DeepCopy Uses

func (in *Lifecycle) DeepCopy() *Lifecycle

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

func (*Lifecycle) DeepCopyInto Uses

func (in *Lifecycle) DeepCopyInto(out *Lifecycle)

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

func (*Lifecycle) Descriptor Uses

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

func (*Lifecycle) Marshal Uses

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

func (*Lifecycle) MarshalTo Uses

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

func (*Lifecycle) ProtoMessage Uses

func (*Lifecycle) ProtoMessage()

func (*Lifecycle) Reset Uses

func (m *Lifecycle) Reset()

func (*Lifecycle) Size Uses

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

func (*Lifecycle) String Uses

func (this *Lifecycle) String() string

func (Lifecycle) SwaggerDoc Uses

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

func (*Lifecycle) Unmarshal Uses

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

type LimitRange Uses

type LimitRange struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // Spec defines the limits enforced.
    // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
    // +optional
    Spec LimitRangeSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

LimitRange sets resource usage limits for each kind of resource in a Namespace.

func (*LimitRange) DeepCopy Uses

func (in *LimitRange) DeepCopy() *LimitRange

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

func (*LimitRange) DeepCopyInto Uses

func (in *LimitRange) DeepCopyInto(out *LimitRange)

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

func (*LimitRange) DeepCopyObject Uses

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

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

func (*LimitRange) Descriptor Uses

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

func (*LimitRange) Marshal Uses

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

func (*LimitRange) MarshalTo Uses

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

func (*LimitRange) ProtoMessage Uses

func (*LimitRange) ProtoMessage()

func (*LimitRange) Reset Uses

func (m *LimitRange) Reset()

func (*LimitRange) Size Uses

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

func (*LimitRange) String Uses

func (this *LimitRange) String() string

func (LimitRange) SwaggerDoc Uses

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

func (*LimitRange) Unmarshal Uses

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

type LimitRangeItem Uses

type LimitRangeItem struct {
    // Type of resource that this limit applies to.
    // +optional
    Type LimitType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=LimitType"`
    // Max usage constraints on this kind by resource name.
    // +optional
    Max ResourceList `json:"max,omitempty" protobuf:"bytes,2,rep,name=max,casttype=ResourceList,castkey=ResourceName"`
    // Min usage constraints on this kind by resource name.
    // +optional
    Min ResourceList `json:"min,omitempty" protobuf:"bytes,3,rep,name=min,casttype=ResourceList,castkey=ResourceName"`
    // Default resource requirement limit value by resource name if resource limit is omitted.
    // +optional
    Default ResourceList `json:"default,omitempty" protobuf:"bytes,4,rep,name=default,casttype=ResourceList,castkey=ResourceName"`
    // DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
    // +optional
    DefaultRequest ResourceList `json:"defaultRequest,omitempty" protobuf:"bytes,5,rep,name=defaultRequest,casttype=ResourceList,castkey=ResourceName"`
    // MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
    // +optional
    MaxLimitRequestRatio ResourceList `json:"maxLimitRequestRatio,omitempty" protobuf:"bytes,6,rep,name=maxLimitRequestRatio,casttype=ResourceList,castkey=ResourceName"`
}

LimitRangeItem defines a min/max usage limit for any resource that matches on kind.

func (*LimitRangeItem) DeepCopy Uses

func (in *LimitRangeItem) DeepCopy() *LimitRangeItem

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

func (*LimitRangeItem) DeepCopyInto Uses

func (in *LimitRangeItem) DeepCopyInto(out *LimitRangeItem)

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

func (*LimitRangeItem) Descriptor Uses

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

func (*LimitRangeItem) Marshal Uses

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

func (*LimitRangeItem) MarshalTo Uses

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

func (*LimitRangeItem) ProtoMessage Uses

func (*LimitRangeItem) ProtoMessage()

func (*LimitRangeItem) Reset Uses

func (m *LimitRangeItem) Reset()

func (*LimitRangeItem) Size Uses

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

func (*LimitRangeItem) String Uses

func (this *LimitRangeItem) String() string

func (LimitRangeItem) SwaggerDoc Uses

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

func (*LimitRangeItem) Unmarshal Uses

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

type LimitRangeList Uses

type LimitRangeList struct {
    metav1.TypeMeta `json:",inline"`
    // Standard list metadata.
    // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
    // +optional
    metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // Items is a list of LimitRange objects.
    // More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_limit_range.md
    Items []LimitRange `json:"items" protobuf:"bytes,2,rep,name=items"`
}

LimitRangeList is a list of LimitRange items.

func (*LimitRangeList) DeepCopy Uses

func (in *LimitRangeList) DeepCopy() *LimitRangeList

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

func (*LimitRangeList) DeepCopyInto Uses

func (in *LimitRangeList) DeepCopyInto(out *LimitRangeList)

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

func (*LimitRangeList) DeepCopyObject Uses

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

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

func (*LimitRangeList) Descriptor Uses

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

func (*LimitRangeList) Marshal Uses

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

func (*LimitRangeList) MarshalTo Uses

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

func (*LimitRangeList) ProtoMessage Uses

func (*LimitRangeList) ProtoMessage()

func (*LimitRangeList) Reset Uses

func (m *LimitRangeList) Reset()

func (*LimitRangeList) Size Uses

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

func (*LimitRangeList) String Uses

func (this *LimitRangeList) String() string

func (LimitRangeList) SwaggerDoc Uses

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

func (*LimitRangeList) Unmarshal Uses

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

type LimitRangeSpec Uses

type LimitRangeSpec struct {
    // Limits is the list of LimitRangeItem objects that are enforced.
    Limits []LimitRangeItem `json:"limits" protobuf:"bytes,1,rep,name=limits"`
}

LimitRangeSpec defines a min/max usage limit for resources that match on kind.

func (*LimitRangeSpec) DeepCopy Uses

func (in *LimitRangeSpec) DeepCopy() *LimitRangeSpec

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

func (*LimitRangeSpec) DeepCopyInto Uses

func (in *LimitRangeSpec) DeepCopyInto(out *LimitRangeSpec)

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

func (*LimitRangeSpec) Descriptor Uses

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

func (*LimitRangeSpec) Marshal Uses

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

func (*LimitRangeSpec) MarshalTo Uses

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

func (*LimitRangeSpec) ProtoMessage Uses

func (*LimitRangeSpec) ProtoMessage()

func (*LimitRangeSpec) Reset Uses

func (m *LimitRangeSpec) Reset()

func (*LimitRangeSpec) Size Uses

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

func (*LimitRangeSpec) String Uses

func (this *LimitRangeSpec) String() string

func (LimitRangeSpec) SwaggerDoc Uses

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

func (*LimitRangeSpec) Unmarshal Uses

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

type LimitType Uses

type LimitType string

LimitType is a type of object that is limited

const (
    // Limit that applies to all pods in a namespace
    LimitTypePod LimitType = "Pod"
    // Limit that applies to all containers in a namespace
    LimitTypeContainer LimitType = "Container"
    // Limit that applies to all persistent volume claims in a namespace
    LimitTypePersistentVolumeClaim LimitType = "PersistentVolumeClaim"
)

type List Uses

type List metav1.List

List holds a list of objects, which may not be known by the server.

func (*List) DeepCopy Uses

func (in *List) DeepCopy() *List

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

func (*List) DeepCopyInto Uses

func (in *List) DeepCopyInto(out *List)

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

func (*List) DeepCopyObject Uses

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

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

func (*List) Descriptor Uses

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

func (*List) Marshal Uses

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

func (*List) MarshalTo Uses

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

func (*List) ProtoMessage Uses

func (*List) ProtoMessage()

func (*List) Reset Uses

func (m *List) Reset()

func (*List) Size Uses

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

func (*List) String Uses

func (this *List) String() string

func (*List) Unmarshal Uses

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

type ListOptions Uses

type ListOptions struct {
    metav1.TypeMeta `json:",inline"`

    // A selector to restrict the list of returned objects by their labels.
    // Defaults to everything.
    // +optional
    LabelSelector string `json:"labelSelector,omitempty" protobuf:"bytes,1,opt,name=labelSelector"`
    // A selector to restrict the list of returned objects by their fields.
    // Defaults to everything.
    // +optional
    FieldSelector string `json:"fieldSelector,omitempty" protobuf:"bytes,2,opt,name=fieldSelector"`
    // If true, partially initialized resources are included in the response.
    // +optional
    IncludeUninitialized bool `json:"includeUninitialized,omitempty" protobuf:"varint,6,opt,name=includeUninitialized"`
    // Watch for changes to the described resources and return them as a stream of
    // add, update, and remove notifications. Specify resourceVersion.
    // +optional
    Watch bool `json:"watch,omitempty" protobuf:"varint,3,opt,name=watch"`
    // When specified with a watch call, shows changes that occur after that particular version of a resource.
    // Defaults to changes from the beginning of history.
    // When specified for list:
    // - if unset, then the result is returned from remote storage based on quorum-read flag;
    // - if it's 0, then we simply return what we currently have in cache, no guarantee;
    // - if set to non zero, then the result is at least as fresh as given rv.
    // +optional
    ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,4,opt,name=resourceVersion"`
    // Timeout for the list/watch call.
    // +optional
    TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty" protobuf:"varint,5,opt,name=timeoutSeconds"`
}

ListOptions is the query options to a standard REST list call. DEPRECATED: This type has been moved to meta/v1 and will be removed soon. +k8s:openapi-gen=false

func (*ListOptions) DeepCopy Uses

func (in *ListOptions) DeepCopy() *ListOptions

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

func (*ListOptions) DeepCopyInto Uses

func (in *ListOptions) DeepCopyInto(out *ListOptions)

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

func (*ListOptions) DeepCopyObject Uses

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

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

func (*ListOptions) Descriptor Uses

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

func (*ListOptions) Marshal Uses

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

func (*ListOptions) MarshalTo Uses

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

func (*ListOptions) ProtoMessage Uses

func (*ListOptions) ProtoMessage()

func (*ListOptions) Reset Uses

func (m *ListOptions) Reset()

func (*ListOptions) Size Uses

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

func (*ListOptions) String Uses

func (this *ListOptions) String() string

func (ListOptions) SwaggerDoc Uses

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

func (*ListOptions) Unmarshal Uses

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

type LoadBalancerIngress Uses

type LoadBalancerIngress struct {
    // IP is set for load-balancer ingress points that are IP based
    // (typically GCE or OpenStack load-balancers)
    // +optional
    IP  string `json:"ip,omitempty" protobuf:"bytes,1,opt,name=ip"`

    // Hostname is set for load-balancer ingress points that are DNS based
    // (typically AWS load-balancers)
    // +optional
    Hostname string `json:"hostname,omitempty" protobuf:"bytes,2,opt,name=hostname"`
}

LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.

func (*LoadBalancerIngress) DeepCopy Uses

func (in *LoadBalancerIngress) DeepCopy() *LoadBalancerIngress

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

func (*LoadBalancerIngress) DeepCopyInto Uses

func (in *LoadBalancerIngress) DeepCopyInto(out *LoadBalancerIngress)

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

func (*LoadBalancerIngress) Descriptor Uses

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

func (*LoadBalancerIngress) Marshal Uses

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

func (*LoadBalancerIngress) MarshalTo Uses

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

func (*LoadBalancerIngress) ProtoMessage Uses

func (*LoadBalancerIngress) ProtoMessage()