Documentation ¶
Index ¶
- func IpcNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode
- func NamespacesForPod(pod *v1.Pod, runtimeHelper kubecontainer.RuntimeHelper) (*runtimeapi.NamespaceOption, error)
- func NetworkNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode
- func PidNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode
- func PodSandboxChanged(pod *v1.Pod, podStatus *kubecontainer.PodStatus) (bool, uint32, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IpcNamespaceForPod ¶
func IpcNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode
IpcNamespaceForPod returns the runtimeapi.NamespaceMode for the IPC namespace of a pod
func NamespacesForPod ¶
func NamespacesForPod(pod *v1.Pod, runtimeHelper kubecontainer.RuntimeHelper) (*runtimeapi.NamespaceOption, error)
namespacesForPod returns the runtimeapi.NamespaceOption for a given pod. An empty or nil pod can be used to get the namespace defaults for v1.Pod.
func NetworkNamespaceForPod ¶
func NetworkNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode
NetworkNamespaceForPod returns the runtimeapi.NamespaceMode for the network namespace of a pod
func PidNamespaceForPod ¶
func PidNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode
PidNamespaceForPod returns the runtimeapi.NamespaceMode for the PID namespace of a pod
func PodSandboxChanged ¶
PodSandboxChanged checks whether the spec of the pod is changed and returns (changed, new attempt, original sandboxID if exist).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.