Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PatchPodStatus ¶ added in v1.11.0
func PatchPodStatus(ctx context.Context, 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.
func ReplaceOrAppendPodCondition ¶ added in v1.26.0
func ReplaceOrAppendPodCondition(conditions []v1.PodCondition, condition *v1.PodCondition) []v1.PodCondition
ReplaceOrAppendPodCondition replaces the first pod condition with equal type or appends if there is none
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.