- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for KubeletVolumeHost (0.2 sec)
-
pkg/kubelet/volume_host.go
} // Compile-time check to ensure kubeletVolumeHost implements the VolumeHost interface var _ volume.VolumeHost = &kubeletVolumeHost{} var _ volume.KubeletVolumeHost = &kubeletVolumeHost{} func (kvh *kubeletVolumeHost) GetPluginDir(pluginName string) string { return kvh.kubelet.getPluginDir(pluginName) } type kubeletVolumeHost struct { kubelet *Kubelet
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 10K bytes - Viewed (0) -
pkg/volume/local/local.go
return nil, err } globalLocalPath, err := plugin.getGlobalLocalPath(spec) if err != nil { return nil, err } kvh, ok := plugin.host.(volume.KubeletVolumeHost) if !ok { return nil, fmt.Errorf("plugin volume host does not implement KubeletVolumeHost interface") } return &localVolumeMounter{ localVolume: &localVolume{ pod: pod, podUID: pod.UID,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 22.2K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
klog.Error(log("VolumeAttachmentLister not found on AttachDetachVolumeHost")) } } kletHost, ok := host.(volume.KubeletVolumeHost) if ok { p.csiDriverLister = kletHost.CSIDriverLister() if p.csiDriverLister == nil { klog.Error(log("CSIDriverLister not found on KubeletVolumeHost")) } p.serviceAccountTokenGetter = host.GetServiceAccountTokenFunc() if p.serviceAccountTokenGetter == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/volume/projected/projected.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 12.8K bytes - Viewed (0) -
pkg/volume/fc/fc.go
}, } var mountContext string if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { kvh, ok := plugin.host.(volume.KubeletVolumeHost) if !ok { return volume.ReconstructedVolume{}, fmt.Errorf("plugin volume host does not implement KubeletVolumeHost interface") } hu := kvh.GetHostUtil() mountContext, err = hu.GetSELinuxMountContext(mountPath) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 17.4K bytes - Viewed (0) -
pkg/volume/hostpath/host_path.go
if hostPathVolumeSource.Type == nil { *pathType = v1.HostPathUnset } else { pathType = hostPathVolumeSource.Type } kvh, ok := plugin.host.(volume.KubeletVolumeHost) if !ok { return nil, fmt.Errorf("plugin volume host does not implement KubeletVolumeHost interface") } return &hostPathMounter{ hostPath: &hostPath{path: path, pathType: pathType}, readOnly: readOnly,
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_test.go
// to the CSI plugin running in the Kubelet. kubeletVolumeHost := volumetest.NewFakeKubeletVolumeHostWithCSINodeName(t, tmpDir, client, ProbeVolumePlugins(), "fakeNode", csiDriverInformer.Lister(), volumeAttachmentInformer.Lister(), ) kubeletPlugMgr := kubeletVolumeHost.GetPluginMgr() // Mount Device t.Log("csiTest.VolumeAll Mouting device...")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 15:55:13 UTC 2022 - 21.1K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi.go
}, } var mountContext string if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { kvh, ok := plugin.host.(volume.KubeletVolumeHost) if !ok { return volume.ReconstructedVolume{}, fmt.Errorf("plugin volume host does not implement KubeletVolumeHost interface") } hu := kvh.GetHostUtil() mountContext, err = hu.GetSELinuxMountContext(mountPath) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 23.4K bytes - Viewed (0) -
pkg/volume/plugins.go
// to the specific functions they are needed in (instead of using a catch-all // VolumeHost interface) // KubeletVolumeHost is a Kubelet specific interface that plugins can use to access the kubelet. type KubeletVolumeHost interface { // SetKubeletError lets plugins set an error on the Kubelet runtime status // that will cause the Kubelet to post NotReady status with the error message provided
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:13:15 UTC 2024 - 38.2K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher.go
var _ volume.Detacher = &csiAttacher{} var _ volume.DeviceMounter = &csiAttacher{} func (c *csiAttacher) Attach(spec *volume.Spec, nodeName types.NodeName) (string, error) { _, ok := c.plugin.host.(volume.KubeletVolumeHost) if ok { return "", errors.New("attaching volumes from the kubelet is not supported") } if spec == nil { klog.Error(log("attacher.Attach missing volume.Spec")) return "", errors.New("missing spec")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 03 07:38:14 UTC 2023 - 25.9K bytes - Viewed (0)