Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 66 for volume_plugin (0.3 sec)

  1. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    	// Arrange
    	fakeVolumeHost := volumetesting.NewFakeVolumeHost(t,
    		"",  /* rootDir */
    		nil, /* kubeClient */
    		nil, /* plugins */
    	)
    	plugins := []volume.VolumePlugin{
    		&volumetesting.FakeBasicVolumePlugin{
    			Plugin: volumetesting.FakeVolumePlugin{
    				PluginName: "basic",
    			},
    		},
    		&volumetesting.FakeDeviceMountableVolumePlugin{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. pkg/volume/projected/projected.go

    	volumeutil "k8s.io/kubernetes/pkg/volume/util"
    	utilstrings "k8s.io/utils/strings"
    )
    
    // ProbeVolumePlugins is the entry point for plugin detection in a package.
    func ProbeVolumePlugins() []volume.VolumePlugin {
    	return []volume.VolumePlugin{&projectedPlugin{}}
    }
    
    const (
    	projectedPluginName = "kubernetes.io/projected"
    )
    
    type projectedPlugin struct {
    	host                      volume.VolumeHost
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. pkg/volume/csi/testing/testing.go

    )
    
    // NewTestPlugin creates a plugin mgr to load plugins and setup a fake client
    func NewTestPlugin(t *testing.T, client *fakeclient.Clientset) (*volume.VolumePluginMgr, *volume.VolumePlugin, string) {
    	tmpDir, err := utiltesting.MkTmpdir("csi-test")
    	if err != nil {
    		t.Fatalf("can't create temp dir: %v", err)
    	}
    
    	if client == nil {
    		client = fakeclient.NewSimpleClientset()
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 07 00:11:50 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/framework_test.go

    	}
    	params := ControllerParameters{
    		KubeClient:                kubeClient,
    		SyncPeriod:                5 * time.Second,
    		VolumePlugins:             []volume.VolumePlugin{},
    		VolumeInformer:            informerFactory.Core().V1().PersistentVolumes(),
    		ClaimInformer:             informerFactory.Core().V1().PersistentVolumeClaims(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  5. src/go/printer/testdata/alignment.golden

    	EnableDebuggingHandlers:	s.EnableDebuggingHandlers,
    	DockerClient:			dockertools.ConnectToDockerOrDie(s.DockerEndpoint),
    	KubeClient:			client,
    	MasterServiceNamespace:		s.MasterServiceNamespace,
    	VolumePlugins:			ProbeVolumePlugins(),
    	NetworkPlugins:			ProbeNetworkPlugins(),
    	NetworkPluginName:		s.NetworkPluginName,
    	StreamingConnectionIdleTimeout:	s.StreamingConnectionIdleTimeout,
    	TLSOptions:			tlsOptions,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 14 20:40:15 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  6. src/go/printer/testdata/alignment.input

        DockerClient:                   dockertools.ConnectToDockerOrDie(s.DockerEndpoint),
        KubeClient:                     client,
        MasterServiceNamespace:         s.MasterServiceNamespace,
        VolumePlugins:                  ProbeVolumePlugins(),
        NetworkPlugins:                 ProbeNetworkPlugins(),
        NetworkPluginName:              s.NetworkPluginName,
        StreamingConnectionIdleTimeout: s.StreamingConnectionIdleTimeout,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 14 20:40:15 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  7. pkg/volume/util/operationexecutor/node_expander_test.go

    			if actualSize == nil {
    				actualSize = pvc.Status.Capacity.Storage()
    			}
    			resizeOp := nodeResizeOperationOpts{
    				pvc:                pvc,
    				pv:                 pv,
    				volumePlugin:       fakePlugin,
    				vmt:                vmt,
    				actualStateOfWorld: nil,
    				pluginResizeOpts: volume.NodeResizeOptions{
    					VolumeSpec: vmt.VolumeSpec,
    					NewSize:    *desiredSize,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. pkg/volume/fc/fc.go

    )
    
    // ProbeVolumePlugins is the primary entrypoint for volume plugins.
    func ProbeVolumePlugins() []volume.VolumePlugin {
    	return []volume.VolumePlugin{&fcPlugin{nil}}
    }
    
    type fcPlugin struct {
    	host volume.VolumeHost
    }
    
    var _ volume.VolumePlugin = &fcPlugin{}
    var _ volume.PersistentVolumePlugin = &fcPlugin{}
    var _ volume.BlockVolumePlugin = &fcPlugin{}
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. pkg/volume/emptydir/empty_dir.go

    const perm os.FileMode = 0777
    
    // ProbeVolumePlugins is the primary entrypoint for volume plugins.
    func ProbeVolumePlugins() []volume.VolumePlugin {
    	return []volume.VolumePlugin{
    		&emptyDirPlugin{nil},
    	}
    }
    
    type emptyDirPlugin struct {
    	host volume.VolumeHost
    }
    
    var _ volume.VolumePlugin = &emptyDirPlugin{}
    
    const (
    	emptyDirPluginName           = "kubernetes.io/empty-dir"
    	hugePagesPageSizeMountOption = "pagesize"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/pv_controller_base.go

    // PersistentVolume controller.
    type ControllerParameters struct {
    	KubeClient                clientset.Interface
    	SyncPeriod                time.Duration
    	VolumePlugins             []vol.VolumePlugin
    	VolumeInformer            coreinformers.PersistentVolumeInformer
    	ClaimInformer             coreinformers.PersistentVolumeClaimInformer
    	ClassInformer             storageinformers.StorageClassInformer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top