Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for vols (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. docs/fr/docs/python-types.md

    C'est un programme très simple.
    
    Mais maintenant imaginez que vous l'écriviez de zéro.
    
    À un certain point vous auriez commencé la définition de la fonction, vous aviez les paramètres prêts.
    
    Mais vous aviez besoin de "cette méthode qui convertit la première lettre en majuscule".
    
    Était-ce `upper` ? `uppercase` ? `first_uppercase` ? `capitalize` ?
    
    Vous essayez donc d'utiliser le vieil ami du programmeur, l'auto-complétion de l'éditeur.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. pkg/volume/util/operationexecutor/operation_generator_test.go

    			pvc:  getTestPVC("test-vol0", "2G", "2G", "2G", nil),
    			pv:   getTestPV("test-vol0", "2G"),
    
    			expectedResizeStatus: "",
    			resizeCallCount:      0,
    			expectedStatusSize:   resource.MustParse("2G"),
    		},
    		{
    			name:        "pv.spec.cap = pvc.status.cap, resizeStatus='', desiredSize > actualSize",
    			pvc:         getTestPVC("test-vol0", "2G", "2G", "2G", nil),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. docs/fr/docs/index.md

    @app.get("/items/{item_id}")
    async def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    **Note**
    
    Si vous n'êtes pas familier avec cette notion, consultez la section _"Vous êtes pressés ?"_ à propos de <a href="https://fastapi.tiangolo.com/fr/async/#vous-etes-presses" target="_blank">`async` et `await` dans la documentation</a>.
    
    </details>
    
    ### Lancez
    
    Lancez le serveur avec :
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/first-steps.md

    ---
    
    Vous pourriez aussi la définir comme une fonction classique plutôt qu'avec `async def` :
    
    ```Python hl_lines="7"
    {!../../../docs_src/first_steps/tutorial003.py!}
    ```
    
    !!! note
        Si vous ne connaissez pas la différence, allez voir la section [Concurrence : *"Vous êtes pressés ?"*](../async.md#vous-etes-presses){.internal-link target=_blank}.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Sep 27 20:52:31 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top