Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for expandFile (0.29 sec)

  1. pkg/volume/csi/expander_test.go

    	}
    	for _, tc := range tests {
    		t.Run(tc.name, func(t *testing.T) {
    			plug, tmpDir := newTestPlugin(t, nil)
    			defer os.RemoveAll(tmpDir)
    
    			spec := volume.NewSpecFromPersistentVolume(makeTestPV("test-pv", 10, "expandable", "test-vol"), false)
    			if tc.enableCSINodeExpandSecret {
    				spec.PersistentVolume.Spec.CSI.NodeExpandSecretRef = &api.SecretReference{
    					Name:      tc.secret.Name,
    					Namespace: tc.secret.Namespace,
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 03:58:36 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/README.md

    ### Schema
    
    Every `h2` tag and `h3` will be listed in the generated TOC.
    
    After every `h3` all content after the first element (usually a `p`) will be collapsed/expandable, up until the next `h3`, or `h2`.
    
    After every `h4` all content will be collapsed/expandable, up until the next `h4`, `h3` or `h2`.
    
    An `h3` may include an incubating marker `(i)` at the end of its text to indicate that the feature is incubating.
    
    Here's an example:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 21:49:03 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/plugins.go

    	return flexvolume.GetDynamicPluginProber(config.FlexVolumePluginDir, exec.New() /*exec.Interface*/)
    }
    
    // ProbeExpandableVolumePlugins returns volume plugins which are expandable
    func ProbeExpandableVolumePlugins(logger klog.Logger, config persistentvolumeconfig.VolumeConfiguration) ([]volume.VolumePlugin, error) {
    	var err error
    	allPlugins := []volume.VolumePlugin{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pilot/pkg/status/resourcelock.go

    	"istio.io/api/meta/v1alpha1"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // Task to be performed.
    type Task func(entry cacheEntry)
    
    // WorkerQueue implements an expandable goroutine pool which executes at most one concurrent routine per target
    // resource.  Multiple calls to Push() will not schedule multiple executions per target resource, but will ensure that
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. pkg/kubelet/container/helpers_test.go

    				VolumeMounts: []v1.VolumeMount{{SubPathExpr: "$()"}},
    			},
    			expectedSubPath:   "$()",
    			expectedMountPath: "",
    			expectedOk:        false,
    		},
    		{
    			name: "subpaths with nested expandable envs",
    			container: &v1.Container{
    				VolumeMounts: []v1.VolumeMount{{SubPathExpr: "$(POD_NAME$(ANNOTATION))"}},
    			},
    			envs: []EnvVar{
    				{
    					Name:  "POD_NAME",
    					Value: "foo",
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/cache/actual_state_of_world.go

    		volumePlugin, err := asw.volumePluginMgr.FindNodeExpandablePluginBySpec(volumeObj.spec)
    		if err != nil || volumePlugin == nil {
    			// Log and continue processing
    			klog.InfoS("PodExistsInVolume failed to find expandable plugin",
    				"volume", volumeObj.volumeName,
    				"volumeSpecName", volumeObj.spec.Name())
    			return currentSize, false
    		}
    		if volumePlugin.RequiresFSResize() {
    			return currentSize, true
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  7. pkg/volume/plugins.go

    func (pm *VolumePluginMgr) FindExpandablePluginBySpec(spec *Spec) (ExpandableVolumePlugin, error) {
    	volumePlugin, err := pm.FindPluginBySpec(spec)
    	if err != nil {
    		if spec.IsKubeletExpandable() {
    			// for kubelet expandable volumes, return a noop plugin that
    			// returns success for expand on the controller
    			klog.V(4).InfoS("FindExpandablePluginBySpec -> returning noopExpandableVolumePluginInstance", "specName", spec.Name())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. pkg/volume/testing/testing.go

    		Volume: &v1.Volume{
    			Name: volumeName,
    		},
    	}, nil
    }
    
    func (plugin *FakeVolumePlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) {
    	return []string{}, nil
    }
    
    // Expandable volume support
    func (plugin *FakeVolumePlugin) ExpandVolumeDevice(spec *volume.Spec, newSize resource.Quantity, oldSize resource.Quantity) (resource.Quantity, error) {
    	return resource.Quantity{}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top