Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for vol6 (0.13 sec)

  1. pkg/volume/csi/csi_mounter_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			if vol.DeviceMountPath != devicePath {
    				t.Errorf("DeviceMountPath not sent properly to CSI driver: %s, %s", vol.DeviceMountPath, devicePath)
    			}
    
    			if !reflect.DeepEqual(vol.MountFlags, csiMounter.spec.PersistentVolume.Spec.MountOptions) {
    				t.Errorf("unexpected mount flags passed to driver: %+v", vol.MountFlags)
    			}
    
    			if vol.FSType != tc.fsType {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    			name: "attach and detach",
    			attachedSpecs: []attachedSpec{
    				{"vol0", volume.NewSpecFromPersistentVolume(makeTestPV("pv0", 10, testDriver, "vol0"), false), true},
    				{"vol1", volume.NewSpecFromPersistentVolume(makeTestPV("pv1", 20, testDriver, "vol1"), false), true},
    				{"vol2", volume.NewSpecFromPersistentVolume(makeTestPV("pv2", 10, testDriver, "vol2"), false), false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    	if err = xlStorage.MakeVol(context.Background(), "success-vol"); err != nil {
    		t.Fatalf("Unable to create volume, %s", err)
    	}
    
    	// TestXLStorage failure cases.
    	vol := slashpath.Join(path, "nonempty-vol")
    	if err = os.Mkdir(vol, 0o777); err != nil {
    		t.Fatalf("Unable to create directory, %s", err)
    	}
    	if err = os.WriteFile(slashpath.Join(vol, "test-file"), []byte{}, os.ModePerm); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    			},
    			verify: func(t *testing.T, vols []v1.UniqueVolumeName, volName v1.UniqueVolumeName) {
    				if len(vols) == 0 {
    					t.Fatalf("Request resize for volume, but volume in ASW hasn't been marked as fsResizeRequired")
    				}
    				if len(vols) != 1 {
    					t.Errorf("Some unexpected volumes are marked as fsResizeRequired: %v", vols)
    				}
    				if vols[0] != volName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    			expectCost: map[string]int64{
    				"int(self.val2) == self.val1":         6,
    				"double(self.val1) == self.val2":      6,
    				"bytes(self.val6) == self.val7":       6,
    				"string(self.val1) == self.val6":      6,
    				"string(self.val4) == '10.5'":         4,
    				"string(self.val7) == self.val6":      6,
    				"duration(self.val8) == self.val9":    6,
    				"timestamp(self.val10) == self.val11": 6,
    				"string(self.val11) == self.val10":    8,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    	for _, vol := range attachedVolumes {
    		if vol.VolumeName == volumeName1 {
    			// devicePath + attachability must have been updated from node.status
    			assert.True(t, vol.PluginIsAttachable)
    			assert.Equal(t, vol.DevicePath, "fake/path")
    		}
    		if vol.VolumeName == volumeName2 {
    			// only attachability was updated from node.status
    			assert.False(t, vol.PluginIsAttachable)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  7. pkg/controller/volume/persistentvolume/pv_controller.go

    // either the deleter plugin or nil when an external deleter is requested.
    func (ctrl *PersistentVolumeController) findDeletablePlugin(volume *v1.PersistentVolume) (vol.DeletableVolumePlugin, error) {
    	// Find a plugin. Try to find the same plugin that provisioned the volume
    	var plugin vol.DeletableVolumePlugin
    	if metav1.HasAnnotation(volume.ObjectMeta, storagehelpers.AnnDynamicallyProvisioned) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  8. pkg/controller/statefulset/stateful_set_utils_test.go

    	mounts := append(petMounts, podMounts...)
    	claims := []v1.PersistentVolumeClaim{}
    	for _, m := range petMounts {
    		claims = append(claims, newPVC(m.Name))
    	}
    
    	vols := []v1.Volume{}
    	for _, m := range podMounts {
    		vols = append(vols, v1.Volume{
    			Name: m.Name,
    			VolumeSource: v1.VolumeSource{
    				HostPath: &v1.HostPathVolumeSource{
    					Path: fmt.Sprintf("/tmp/%v", m.Name),
    				},
    			},
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    				}
    			}
    		}
    		// Act
    		logger, _ := ktesting.NewTestContext(t)
    		volumes := dsw.GetVolumesToAttach()
    		for _, vol := range volumes {
    			if vol.NodeName == "node1" {
    				rc.(*reconciler).reportMultiAttachError(logger, vol, nodes)
    			}
    		}
    
    		// Assert
    		close(fakeRecorder.Events)
    		index := 0
    		for event := range fakeRecorder.Events {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        return success();
      }
    };
    
    // Approximates lgamma using Lanczos' approximation from
    // "A Precision Approximation of the Gamma Function". SIAM Journal on Numerical
    // Analysis series B. Vol. 1:
    // lgamma(z + 1) = (log(2) + log(pi)) / 2 + (z + 1/2) * log(t(z)) - t(z) + A(z)
    // t(z) = z + kLanczosGamma + 1/2
    // A(z) = kBaseLanczosCoeff
    //       + sigma(k = 1, n, kLanczosCoefficients[i] / (z +  k))
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top