# Functions
No description provided by the author
No description provided by the author
Date returns the Time corresponding to the supplied parameters by wrapping time.Date.
Decode decodes a JSON string to an internal type.
DecodeInto parses a JSON string and stores it in obj, which needs to be a pointer to a struct.
No description provided by the author
Encode encodes a struct or a struct pointer to a JSON string that can be persisted in a registry.
Run through all units in a pod and call f to modify each container.
Run through all units in a pod and call f to modify each unit.
FormatLabelSelector convert labelSelector into plain string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LabelSelectorAsMap converts the LabelSelector api type into a map of strings, ie.
LabelSelectorAsSelector converts the LabelSelector api type into a struct that implements labels.Selector Note: This function should be kept in sync with the selector methods in pkg/labels/selector.go.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Now returns the current local time.
ParseToLabelSelector parses a string representing a selector into a LabelSelector object.
No description provided by the author
SetAsLabelSelector converts the labels.Set object into a LabelSelector api object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Unix returns the local time corresponding to the given Unix time by wrapping time.Unix.
# Constants
No description provided by the author
No description provided by the author
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.
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.
DNSDefault indicates that the pod should use the default (as determined by kubelet) DNS settings.
DNSNone indicates that the pod should use empty DNS settings.
A block device must exist at the given path.
A character device must exist at the given path.
A directory must exist at the given path.
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.
A file must exist at the given path.
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.
A UNIX socket must exist at the given path.
For backwards compatible, leave it empty if unset.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A CONTAINER namespace is restricted to a single container.
A NODE namespace is the namespace of the Kubernetes node.
A POD namespace is common to all containers in a pod.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PodDispatching means that we have a Node to put this Pod on and we're in the process of starting the app on the Node.
Pod has failed, either a Unit failed, or some other problem occurred (e.g.
No description provided by the author
PodRunning means that the Pod is up and running.
Pod succeeded means all the Units in the Pod returned success.
PodTerminated means that the Pod has stopped by request.
PodWaiting means that we're waiting for the Pod to begin running.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Use default (disk).
Use tmpfs.
No description provided by the author
URISchemeHTTP means that the scheme used will be http://.
URISchemeHTTPS means that the scheme used will be https://.
# Variables
No description provided by the author
SimpleNameGenerator is a generator that returns the name plus a random suffix of five alphanumerics when a name is requested.
# Structs
No description provided by the author
Capability contains the capabilities to add or drop.
Selects a key from a ConfigMap.
Adapts a ConfigMap into a projected volume.
Adapts a ConfigMap into a volume.
ContainerPort represents a network port in a single container.
Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON.
EmptyDir is is disk or memory-backed Volume.
Environment variables.
Event is a report of an event that happened in Milpa.
A list of Events.
ExecAction describes a "run in container" action.
No description provided by the author
Handler defines a specific action that should be taken.
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
Represents a host path mapped into a pod.
HTTPGetAction describes an action based on HTTP Get requests.
HTTPHeader describes a custom header to be used in HTTP probes.
+k8s:deepcopy-gen=false.
+k8s:deepcopy-gen=false.
Maps a string key to a path within a volume.
There are two different styles of label selectors used in versioned types: an older style which is represented as just a string in versioned types, and a newer style that is structured.
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
Lifecycle describes actions that the management system should take in response to container lifecycle events.
LoadBalancerIngress represents the status of a load-balancer ingress point traffic intended for the Service should be sent to an ingress point.
LoadBalancerStatus represents the status of a load-balancer.
LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
LogFile holds the log data created by a Pod Unit or a Node.
A list of logfiles.
No description provided by the author
No description provided by the author
NamespaceOption provides options for Linux namespaces.
No description provided by the author
Node is a cloud instance that can run a Pod.
No description provided by the author
NodeSpec defines the desired behavior of the Node.
NodeStatus is the last observed status of a Node.
ObjectMeta is metadata that is maintained for all persisted resources, which includes all objects users create.
ObjectReference contains enough information to be able to retrieve the object from the registry.
Source for a file or directory from a package that will be mapped into the rootfs of a Unit.
No description provided by the author
Pod is a collection of Units that run on the same Node.
PodCondition represents pod's condition.
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
PodDNSConfigOption defines DNS resolver options of a pod.
No description provided by the author
No description provided by the author
PodReadinessGate contains the reference to a pod condition.
No description provided by the author
No description provided by the author
PodSpot is the policy that determines if a spot instance may be used for a Pod.
Last observed status of the Pod.
No description provided by the author
PodTemplateSpec is the object that describes the Pod that will be created if insufficient replicas are detected.
No description provided by the author
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Represents a projected volume source.
No description provided by the author
ResourceRequirements describes the compute resource requirements.
ResourceSpec is used to specify resource requirements for the Node that will run a Pod.
No description provided by the author
SecretKeySelector selects a key of a Secret.
Adapts a secret into a projected volume.
Adapts a Secret into a volume.
Optional security context that overrides whatever is set for the pod.
SELinuxOptions are the labels to be applied to the container.
ServiceStatus represents the current status of a Service.
Sysctl defines a kernel parameter to be set.
TCPSocketAction describes an action based on opening a socket.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.
TypeMeta is metadata information for API objects.
Units run applications.
UnitState holds a possible state of a Pod Unit.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
+k8s:deepcopy-gen=false.
Definition for Volumes.
VolumeDevice describes a mapping of a raw block device within a container.
VolumeMount specifies what Volumes to attach to the Unit and the path where they will be located inside the Unit.
Projection that may be projected along with other supported volume types.
No description provided by the author
WindowsSecurityContextOptions contain Windows-specific options and credentials.
# Interfaces
MilpaCodec is the codec used by the registry.
No description provided by the author
NameGenerator generates names for objects.
Storage codec is the codec interface that's used to serialize and unserialize objects to and from a format that can be used by our storage system (etcd).
No description provided by the author
# Type aliases
ConditionStatus defines conditions of resources.
DNSPolicy defines how a pod's DNS will be configured.
No description provided by the author
A label selector operator is the set of operators that can be used in a selector requirement.
MountPropagationMode describes mount propagation.
No description provided by the author
No description provided by the author
NodePhase is the last observed phase of the Node.
PodConditionType defines the condition of pod.
PodFSGroupChangePolicy holds policies that will be used for applying fsGroup to a volume when volume is mounted.
Phase is the last observed phase of the Pod.
PodQOSClass defines the supported qos classes of Pods.
PreemptionPolicy describes a policy for if/when to preempt a pod.
ProcMountType defines the type of proc mount.
Protocol defines network protocols supported for things like ports.
PullPolicy describes a policy for if/when to pull a container image.
ResourceList is a set of (resource name, quantity) pairs.
No description provided by the author
ResourceName is the name identifying various resources in a ResourceList.
Restart policy for all Units in this Pod.
Spot policy.
Backing storage for Volumes.
No description provided by the author
TerminationMessagePolicy describes how termination messages are retrieved from a container.
URIScheme identifies the scheme used for connection to a host for Get actions.