Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for vols (0.04 sec)

  1. pkg/volume/portworx/portworx_util.go

    	vols, err = driver.Inspect([]string{spec.Name()})
    	if err != nil {
    		return err
    	}
    
    	if len(vols) != 1 {
    		return fmt.Errorf("failed to inspect resized Portworx volume: %s. Found: %d volumes", spec.Name(), len(vols))
    	}
    
    	updatedVol := vols[0]
    	if updatedVol.Spec.Size < vol.Spec.Size {
    		return fmt.Errorf("Portworx volume: %s doesn't match expected size after resize. expected:%v actual:%v",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_block_test.go

    	if _, ok := pubs[csiUnmapper.volumeID]; ok {
    		t.Error("csi server may not have received NodeUnpublishVolume call")
    	}
    
    	// ensure csi client call and node unstaged
    	vols := csiUnmapper.csiClient.(*fakeCsiDriverClient).nodeClient.GetNodeStagedVolumes()
    	if _, ok := vols[csiUnmapper.volumeID]; ok {
    		t.Error("csi server may not have received NodeUnstageVolume call")
    	}
    }
    
    func TestBlockMapperTearDownDeviceNoClientError(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/controlplane/volumes.go

    	vol := staticpodutil.NewVolume(mountName, hostPath, hostPathType)
    	c.addComponentVolume(component, vol)
    	volMount := staticpodutil.NewVolumeMount(mountName, containerPath, readOnly)
    	c.addComponentVolumeMount(component, volMount)
    }
    
    func (c *controlPlaneHostPathMounts) AddHostPathMounts(component string, vols []v1.Volume, volMounts []v1.VolumeMount) {
    	for _, v := range vols {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/controlplane/volumes_test.go

    			if _, ok := mounts.volumes["component"][volumeName]; !ok {
    				t.Errorf("Expected to find volume %q", volumeName)
    			}
    			vol := mounts.volumes["component"][volumeName]
    			if vol.Name != volumeName {
    				t.Errorf("Expected volume name %q", volumeName)
    			}
    			if vol.HostPath.Path != hostMount.HostPath {
    				t.Errorf("Expected host path %q", hostMount.HostPath)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. cmd/storage-rest-client.go

    		storageRESTVolume: volume,
    	}))
    	if err != nil {
    		return vol, toStorageErr(err)
    	}
    	vol = *v
    	// Performs shallow copy, so we can reuse.
    	storageStatVolRPC.PutResponse(v)
    	return vol, nil
    }
    
    // DeleteVol - Deletes a volume over the network.
    func (client *storageRESTClient) DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error) {
    	return errInvalidArgument
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. pkg/volume/util/util_test.go

    								{
    									Name: "vol4",
    								},
    							},
    						},
    					},
    					Volumes: []v1.Volume{
    						{
    							Name: "vol1",
    						},
    						{
    							Name: "vol2",
    						},
    						{
    							Name: "vol3",
    						},
    						{
    							Name: "vol4",
    						},
    					},
    				},
    			},
    			expectedMounts:  sets.New[string]("vol1", "vol3"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/volume_manager_test.go

    						{
    							Name:      volumetest.FailMountDeviceVolumeName,
    							MountPath: "/vol1",
    						},
    						{
    							Name:      "vol2",
    							MountPath: "/vol2",
    						},
    						{
    							Name:      "vol02",
    							MountPath: "/vol02",
    						},
    						{
    							Name:      "vol3",
    							MountPath: "/vol3",
    						},
    						{
    							Name:      "vol03",
    							MountPath: "/vol03",
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_volumes_test.go

    			{
    				Name: "container1",
    				VolumeMounts: []v1.VolumeMount{
    					{
    						Name:      "vol1",
    						MountPath: "/mnt/vol1",
    					},
    					{
    						Name:      "vol2",
    						MountPath: "/mnt/vol2",
    					},
    				},
    			},
    		},
    		Volumes: []v1.Volume{
    			{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_test.go

    		findPluginShouldFail bool
    		driverSpec           *storage.CSIDriverSpec
    		watchTimeout         time.Duration
    	}{
    		{
    			name:     "PersistentVolume",
    			specName: "pv2",
    			driver:   "simple-driver",
    			volName:  "vol2",
    			specFunc: func(specName, driver, volName string) *volume.Spec {
    				return volume.NewSpecFromPersistentVolume(makeTestPV(specName, 20, driver, volName), false)
    			},
    			podFunc: func() *api.Pod {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 15:55:13 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  10. docs/fr/docs/contributing.md

    # Développement - Contribuer
    
    Tout d'abord, vous voudrez peut-être voir les moyens de base pour [aider FastAPI et obtenir de l'aide](help-fastapi.md){.internal-link target=_blank}.
    
    ## Développement
    
    Si vous avez déjà cloné le dépôt et que vous savez que vous devez vous plonger dans le code, voici quelques directives pour mettre en place votre environnement.
    
    ### Environnement virtuel avec `venv`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 27 18:51:07 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top