package pod
import "k8s.io/kubernetes/pkg/util/pod"
Index ¶
Functions ¶
func PatchPodStatus ¶
func PatchPodStatus(c clientset.Interface, namespace, name string, uid types.UID, oldPodStatus, newPodStatus v1.PodStatus) (*v1.Pod, []byte, bool, error)
PatchPodStatus patches pod status. It returns true and avoids an update if the patch contains no changes.
Source Files ¶
pod.go
- Version
- v1.23.9-rc.0
- Published
- Jun 16, 2022
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 7 minutes ago –
Tools for package owners.