Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for csiplugins (0.81 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder.go

    func isCSIMigrationOnForPlugin(pluginName string) bool {
    	switch pluginName {
    	case csiplugins.AWSEBSInTreePluginName:
    		return true
    	case csiplugins.GCEPDInTreePluginName:
    		return true
    	case csiplugins.AzureDiskInTreePluginName:
    		return true
    	case csiplugins.CinderInTreePluginName:
    		return true
    	case csiplugins.PortworxVolumePluginName:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_plugin.go

    var _ volume.AttachableVolumePlugin = &csiPlugin{}
    
    var _ volume.DeviceMountableVolumePlugin = &csiPlugin{}
    
    func (p *csiPlugin) NewAttacher() (volume.Attacher, error) {
    	return p.newAttacherDetacher()
    }
    
    func (p *csiPlugin) NewDeviceMounter() (volume.DeviceMounter, error) {
    	return p.NewAttacher()
    }
    
    func (p *csiPlugin) NewDetacher() (volume.Detacher, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  3. pkg/kubelet/pluginmanager/cache/actual_state_of_world_test.go

    	}
    
    	// Get registered plugins and check the newly added plugin is there
    	aswPlugins := asw.GetRegisteredPlugins()
    	if len(aswPlugins) != 1 {
    		t.Fatalf("Actual state of world length should be one but it's %d", len(aswPlugins))
    	}
    	if aswPlugins[0] != pluginInfo {
    		t.Fatalf("Expected\n%v\nin actual state of world, but got\n%v\n", pluginInfo, aswPlugins[0])
    	}
    
    	// Check PluginExistsWithCorrectTimestamp returns true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. pkg/kubelet/pluginmanager/reconciler/reconciler_test.go

    	// Get asw plugins; it should contain the added plugin
    	aswPlugins := asw.GetRegisteredPlugins()
    	if len(aswPlugins) != 1 {
    		t.Fatalf("Test_Run_Positive_Register: actual state of world length should be one but it's %d", len(aswPlugins))
    	}
    	if aswPlugins[0].SocketPath != socketPath {
    		t.Fatalf("Test_Run_Positive_Register: expected\n%s\nin actual state of world, but got\n%v\n", socketPath, aswPlugins[0])
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:21:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_test.go

    		// Check the dsw cache. The updated plugin should be the only plugin in it
    		dswPlugins := dsw.GetPluginsToRegister()
    		if len(dswPlugins) != 1 {
    			t.Fatalf("TestPluginReRegistration: desired state of world length should be 1 but it's %d", len(dswPlugins))
    		}
    		if !dswPlugins[0].Timestamp.After(lastTimestamp) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. pkg/kubelet/pluginmanager/cache/desired_state_of_world_test.go

    	dswPlugins := dsw.GetPluginsToRegister()
    	if len(dswPlugins) != 1 {
    		t.Fatalf("Desired state of world length should be one but it's %d", len(dswPlugins))
    	}
    	if dswPlugins[0].SocketPath != socketPath {
    		t.Fatalf("Expected\n%s\nin desired state of world, but got\n%v\n", socketPath, dswPlugins[0])
    	}
    	oldTimestamp := dswPlugins[0].Timestamp
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. pkg/volume/csi/expander.go

    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/util"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    var _ volume.NodeExpandableVolumePlugin = &csiPlugin{}
    
    func (c *csiPlugin) RequiresFSResize() bool {
    	return true
    }
    
    func (c *csiPlugin) NodeExpand(resizeOptions volume.NodeResizeOptions) (bool, error) {
    	klog.V(4).Infof(log("Expander.NodeExpand(%s)", resizeOptions.DeviceMountPath))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 17:23:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. cni/pkg/scopes/scopes.go

    import (
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pkg/log"
    )
    
    // Required to get global logging to work
    var (
    	CNIAgent  = log.RegisterScope(constants.CNIAgentLogScope, "CNI agent scope")
    	CNIPlugin = log.RegisterScope(constants.CNIPluginLogScope, "CNI plugin scope")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 894 bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_plugin_test.go

    	kubeletVolumeHostType
    	attachDetachVolumeHostType
    )
    
    func newTestPlugin(t *testing.T, client *fakeclient.Clientset) (*csiPlugin, string) {
    	return newTestPluginWithVolumeHost(t, client, kubeletVolumeHostType)
    }
    
    func newTestPluginWithAttachDetachVolumeHost(t *testing.T, client *fakeclient.Clientset) (*csiPlugin, string) {
    	return newTestPluginWithVolumeHost(t, client, attachDetachVolumeHostType)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. pkg/kubelet/pluginmanager/pluginwatcher/README.md

      directory, requires plugin process to be running as 'root'.
    
    - The plugin name sent during Registration.GetInfo grpc should be unique
      for the given plugin type (CSIPlugin or DevicePlugin).
    
    - The socket path needs to be unique within one directory, in normal case,
      each plugin type has its own sub directory, but the design does support socket file
      under any sub directory of PluginSockDir.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:00:59 UTC 2019
    - 3.6K bytes
    - Viewed (0)
Back to top