kubernetesk8s.io/kubernetes/pkg/util/pod Index | Files

package pod

import "k8s.io/kubernetes/pkg/util/pod"

Package pod provides utilities to work with Kubernetes pod and pod templates.

Index

Functions

func GetPodTemplateSpecHash

func GetPodTemplateSpecHash(template api.PodTemplateSpec) uint32

func UpdatePodWithRetries

func UpdatePodWithRetries(podClient unversionedcore.PodInterface, pod *api.Pod, applyUpdate updatePodFunc) (*api.Pod, bool, error)

UpdatePodWithRetries updates a pod with given applyUpdate function. Note that pod not found error is ignored. The returned bool value can be used to tell if the pod is actually updated.

Source Files

doc.go pod.go

Version
v1.3.0-alpha.4
Published
May 17, 2016
Platform
js/wasm
Imports
10 packages
Last checked
1 hour ago

Tools for package owners.