package util
import "k8s.io/kubernetes/pkg/controller/volume/expand/util"
Index ¶
- func ClaimToClaimKey(claim *v1.PersistentVolumeClaim) string
- func UpdatePVCCondition(pvc *v1.PersistentVolumeClaim, pvcConditions []v1.PersistentVolumeClaimCondition, kubeClient clientset.Interface) (*v1.PersistentVolumeClaim, error)
Functions ¶
func ClaimToClaimKey ¶
func ClaimToClaimKey(claim *v1.PersistentVolumeClaim) string
ClaimToClaimKey return namespace/name string for pvc
func UpdatePVCCondition ¶
func UpdatePVCCondition(pvc *v1.PersistentVolumeClaim, pvcConditions []v1.PersistentVolumeClaimCondition, kubeClient clientset.Interface) (*v1.PersistentVolumeClaim, error)
UpdatePVCCondition updates pvc with given condition status
Source Files ¶
util.go
- Version
- v1.9.6
- Published
- Mar 20, 2018
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 22 seconds ago –
Tools for package owners.