- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for SetCounter (0.14 sec)
-
pkg/volume/nfs/nfs.go
v1.ReadWriteMany, } } func (plugin *nfsPlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, _ volume.VolumeOptions) (volume.Mounter, error) { return plugin.newMounterInternal(spec, pod, plugin.host.GetMounter(plugin.GetPluginName())) } func (plugin *nfsPlugin) newMounterInternal(spec *volume.Spec, pod *v1.Pod, mounter mount.Interface) (volume.Mounter, error) { source, readOnly, err := getVolumeSource(spec)
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/secret/secret.go
return &secretVolumeMounter{ secretVolume: &secretVolume{ spec.Name(), pod.UID, plugin, plugin.host.GetMounter(plugin.GetPluginName()), volume.NewCachedMetrics(volume.NewMetricsDu(getPath(pod.UID, spec.Name(), plugin.host))), }, source: *spec.Volume.Secret, pod: *pod, opts: &opts,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.1K bytes - Viewed (0) -
pkg/volume/portworx/portworx.go
} } func (plugin *portworxVolumePlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, _ volume.VolumeOptions) (volume.Mounter, error) { return plugin.newMounterInternal(spec, pod.UID, plugin.util, plugin.host.GetMounter(plugin.GetPluginName())) } func (plugin *portworxVolumePlugin) newMounterInternal(spec *volume.Spec, podUID types.UID, manager portworxManager, mounter mount.Interface) (volume.Mounter, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 13.6K bytes - Viewed (0) -
pkg/volume/configmap/configmap.go
return &configMapVolumeMounter{ configMapVolume: &configMapVolume{ spec.Name(), pod.UID, plugin, plugin.host.GetMounter(plugin.GetPluginName()), volume.NewCachedMetrics(volume.NewMetricsDu(getPath(pod.UID, spec.Name(), plugin.host))), }, source: *spec.Volume.ConfigMap, pod: *pod, opts: &opts,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 10K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/volume_host.go
return nil, fmt.Errorf("PersistentVolumeController.NewWrapperMounter is not implemented") } func (ctrl *PersistentVolumeController) GetMounter(pluginName string) mount.Interface { return nil } func (ctrl *PersistentVolumeController) GetHostName() string { return "" } func (ctrl *PersistentVolumeController) GetHostIP() (net.IP, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/kubelet/volume_host.go
} plugin, err := kvh.kubelet.volumePluginMgr.FindPluginBySpec(&spec) if err != nil { return nil, err } return plugin.NewUnmounter(spec.Name(), podUID) } func (kvh *kubeletVolumeHost) GetMounter(pluginName string) mount.Interface { return kvh.kubelet.mounter } func (kvh *kubeletVolumeHost) GetHostName() string { return kvh.kubelet.hostname }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 10K bytes - Viewed (0) -
pkg/controller/volume/expand/expand_controller.go
return nil, fmt.Errorf("NewWrapperUnmounter not supported by expand controller's VolumeHost implementation") } func (expc *expandController) GetMounter(pluginName string) mount.Interface { return nil } func (expc *expandController) GetExec(pluginName string) utilexec.Interface { return utilexec.New() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 16.2K bytes - Viewed (0) -
pkg/volume/testing/volume_host.go
return filepath.Join(f.rootDir, "pods", string(podUID), "plugins", pluginName) } func (f *fakeVolumeHost) GetKubeClient() clientset.Interface { return f.kubeClient } func (f *fakeVolumeHost) GetMounter(pluginName string) mount.Interface { return f.mounter } func (f *fakeVolumeHost) GetSubpather() subpath.Interface { return f.subpather } func (f *fakeVolumeHost) GetPluginMgr() *VolumePluginMgr {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 16.5K bytes - Viewed (0) -
pkg/volume/hostpath/host_path.go
} return &hostPathMounter{ hostPath: &hostPath{path: path, pathType: pathType}, readOnly: readOnly, mounter: plugin.host.GetMounter(plugin.GetPluginName()), hu: kvh.GetHostUtil(), noTypeChecker: plugin.noTypeChecker, }, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 15.3K bytes - Viewed (0) -
pkg/volume/csi/csi_block.go
// At this point it contains only "data/vol_data.json" and empty "dev/". volumeDir := getVolumePluginDir(m.specName, m.plugin.host) mounter := m.plugin.host.GetMounter(m.plugin.GetPluginName()) if err := removeall.RemoveAllOneFilesystem(mounter, volumeDir); err != nil { return err } return nil } // UnmapPodDevice unmaps the block device path.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 06:07:40 UTC 2023 - 20.1K bytes - Viewed (0)