Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for volume_plugin (0.29 sec)

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

    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{"volume_plugin", "access_mode"},
    	)
    	seLinuxVolumeContextMismatchWarnings = compbasemetrics.NewGaugeVec(
    		&compbasemetrics.GaugeOpts{
    			Name:           "volume_manager_selinux_volume_context_mismatch_warnings_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 12:16:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. pkg/kubemark/hollow_kubelet.go

    type HollowKubelet struct {
    	KubeletFlags         *options.KubeletFlags
    	KubeletConfiguration *kubeletconfig.KubeletConfiguration
    	KubeletDeps          *kubelet.Dependencies
    }
    
    func volumePlugins() []volume.VolumePlugin {
    	allPlugins := []volume.VolumePlugin{}
    	allPlugins = append(allPlugins, emptydir.ProbeVolumePlugins()...)
    	allPlugins = append(allPlugins, git_repo.ProbeVolumePlugins()...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    	testCases := map[string]struct {
    		volumePlugins  []volume.VolumePlugin
    		expectErr      bool
    		expectedErrMsg string
    	}{
    		"volumePlugin is nil": {
    			volumePlugins:  []volume.VolumePlugin{},
    			expectErr:      true,
    			expectedErrMsg: "MapVolume.FindMapperPluginBySpec failed",
    		},
    		"blockVolumePlugin is nil": {
    			volumePlugins:  volumetesting.NewFakeFileVolumePlugin(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/plugins_providers.go

    func appendExpandableLegacyProviderVolumes(logger klog.Logger, allPlugins []volume.VolumePlugin, featureGate featuregate.FeatureGate) ([]volume.VolumePlugin, error) {
    	return appendLegacyProviderVolumes(logger, allPlugins, featureGate)
    }
    
    func appendLegacyProviderVolumes(logger klog.Logger, allPlugins []volume.VolumePlugin, featureGate featuregate.FeatureGate) ([]volume.VolumePlugin, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. pkg/volume/plugins.go

    // PersistentVolumePlugin is an extended interface of VolumePlugin and is used
    // by volumes that want to provide long term persistence of data
    type PersistentVolumePlugin interface {
    	VolumePlugin
    	// GetAccessModes describes the ways a given volume can be accessed/mounted.
    	GetAccessModes() []v1.PersistentVolumeAccessMode
    }
    
    // RecyclableVolumePlugin is an extended interface of VolumePlugin and is used
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  6. cmd/kubelet/app/plugins_providers.go

    	"k8s.io/kubernetes/pkg/volume/csimigration"
    	"k8s.io/kubernetes/pkg/volume/portworx"
    )
    
    type probeFn func() []volume.VolumePlugin
    
    func appendPluginBasedOnFeatureFlags(plugins []volume.VolumePlugin, inTreePluginName string,
    	featureGate featuregate.FeatureGate, pluginInfo pluginInfo) ([]volume.VolumePlugin, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. pkg/volume/flexvolume/plugin.go

    type PluginFactory interface {
    	NewFlexVolumePlugin(pluginDir, driverName string, runner exec.Interface) (volume.VolumePlugin, error)
    }
    
    type pluginFactory struct{}
    
    func (pluginFactory) NewFlexVolumePlugin(pluginDir, name string, runner exec.Interface) (volume.VolumePlugin, error) {
    	execPath := filepath.Join(pluginDir, name)
    
    	driverName := utilstrings.UnescapeQualifiedName(name)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/plugins.go

    // initialization code for kubelet really, really need a through refactor.
    func ProbeAttachableVolumePlugins(logger klog.Logger) ([]volume.VolumePlugin, error) {
    	var err error
    	allPlugins := []volume.VolumePlugin{}
    	allPlugins, err = appendAttachableLegacyProviderVolumes(logger, allPlugins, utilfeature.DefaultFeatureGate)
    	if err != nil {
    		return allPlugins, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. pkg/volume/util/operationexecutor/operation_generator.go

    	volumePluginName := unknownVolumePlugin
    	volumePlugin, err :=
    		og.volumePluginMgr.FindPluginBySpec(volumeToMount.VolumeSpec)
    	if err == nil && volumePlugin != nil {
    		volumePluginName = volumePlugin.GetPluginName()
    	}
    
    	mountVolumeFunc := func() volumetypes.OperationContext {
    		// Get mounter plugin
    		volumePlugin, err := og.volumePluginMgr.FindPluginBySpec(volumeToMount.VolumeSpec)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  10. pkg/volume/testing/volume_host.go

    func NewFakeVolumeHost(t *testing.T, rootDir string, kubeClient clientset.Interface, plugins []VolumePlugin) FakeVolumeHost {
    	return newFakeVolumeHost(t, rootDir, kubeClient, plugins, nil, "", nil, nil)
    }
    
    func NewFakeVolumeHostWithCloudProvider(t *testing.T, rootDir string, kubeClient clientset.Interface, plugins []VolumePlugin) FakeVolumeHost {
    	return newFakeVolumeHost(t, rootDir, kubeClient, plugins, nil, "", nil, nil)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top