# Functions
Date returns the Time corresponding to the supplied parameters by wrapping time.Date.
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.
Unix returns the local time corresponding to the given Unix time by wrapping time.Unix.
# Constants
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.
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.
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
Use default (disk).
Use tmpfs.
TerminationMessageFallbackToLogsOnError will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents.
No description provided by the author
TerminationMessageReadFile is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits.
URISchemeHTTP means that the scheme used will be http://.
URISchemeHTTPS means that the scheme used will be https://.
# Structs
No description provided by the author
Capability contains the capabilities to add or drop.
Adapts a ConfigMap into a projected volume.
Adapts a ConfigMap into a volume.
ContainerPort represents a network port in a single container.
EmptyDir is is disk or memory-backed volume.
Environment variables.
EnvVarSource represents a source for the value of an EnvVar.
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.
Maps a string key to a path within a volume.
LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
NamespaceOption provides options for Linux namespaces.
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
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
No description provided by the author
PodSpot is the policy that determines if a spot instance may be used for a pod.
No description provided by the author
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
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.
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.
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
Defintion for volumes.
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
# Type aliases
DNSPolicy defines how a pod's DNS will be configured.
No description provided by the author
No description provided by the author
Phase is the last observed phase of the pod.
Protocol defines network protocols supported for things like ports.
No description provided by the author
Restart policy for all units in this pod.
Spot policy.
Backing storage for volumes.
No description provided by the author
URIScheme identifies the scheme used for connection to a host for Get actions.