- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for RecycleVolumeByWatchingPodUntilCompletion (0.5 sec)
-
pkg/volume/util/recyclerclient/recycler_client.go
clientset "k8s.io/client-go/kubernetes" "k8s.io/klog/v2" ) // RecycleEventRecorder is a func that defines how to record RecycleEvent. type RecycleEventRecorder func(eventtype, message string) // RecycleVolumeByWatchingPodUntilCompletion is intended for use with volume // Recyclers. This function will save the given Pod to the API and watch it // until it completes, fails, or the pod's ActiveDeadlineSeconds is exceeded,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 8.5K bytes - Viewed (1) -
pkg/volume/nfs/nfs.go
NFS: &v1.NFSVolumeSource{ Server: spec.PersistentVolume.Spec.NFS.Server, Path: spec.PersistentVolume.Spec.NFS.Path, }, } return recyclerclient.RecycleVolumeByWatchingPodUntilCompletion(pvName, pod, plugin.host.GetKubeClient(), eventRecorder) } func (plugin *nfsPlugin) ConstructVolumeSpec(volumeName, mountPath string) (volume.ReconstructedVolume, error) { nfsVolume := &v1.Volume{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/volume/hostpath/host_path.go
pod.Spec.Volumes[0].VolumeSource = v1.VolumeSource{ HostPath: &v1.HostPathVolumeSource{ Path: spec.PersistentVolume.Spec.HostPath.Path, }, } return recyclerclient.RecycleVolumeByWatchingPodUntilCompletion(pvName, pod, plugin.host.GetKubeClient(), eventRecorder) } func (plugin *hostPathPlugin) NewDeleter(logger klog.Logger, spec *volume.Spec) (volume.Deleter, error) { return newDeleter(spec, plugin.host)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 15.3K bytes - Viewed (0)