pod

package
v1.31.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 221

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL