Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 96 for vol0 (0.07 sec)

  1. pkg/volume/git_repo/git_repo_test.go

    		},
    		{
    			name: "invalid-repository",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GitRepo: &v1.GitRepoVolumeSource{
    						Repository: "--foo",
    					},
    				},
    			},
    			isExpectedFailure: true,
    		},
    		{
    			name: "invalid-revision",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GitRepo: &v1.GitRepoVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. pkg/volume/nfs/nfs_test.go

    }
    
    func TestPluginVolume(t *testing.T) {
    	vol := &v1.Volume{
    		Name:         "vol1",
    		VolumeSource: v1.VolumeSource{NFS: &v1.NFSVolumeSource{Server: "localhost", Path: "/somepath", ReadOnly: false}},
    	}
    	doTestPlugin(t, volume.NewSpecFromVolume(vol), "localhost:/somepath")
    }
    
    func TestIPV6VolumeSource(t *testing.T) {
    	vol := &v1.Volume{
    		Name:         "vol1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 9K bytes
    - Viewed (0)
  3. 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)
  4. pkg/volume/flexvolume/common_test.go

    			return false
    		}
    	}
    	return true
    }
    
    func fakeVolumeSpec() *volume.Spec {
    	vol := &v1.Volume{
    		Name: "vol1",
    		VolumeSource: v1.VolumeSource{
    			FlexVolume: &v1.FlexVolumeSource{
    				Driver:   "kubernetes.io/fakeAttacher",
    				ReadOnly: false,
    			},
    		},
    	}
    	return volume.NewSpecFromVolume(vol)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. pkg/volume/iscsi/iscsi_test.go

    	}
    }
    
    func TestPluginVolume(t *testing.T) {
    	vol := &v1.Volume{
    		Name: "vol1",
    		VolumeSource: v1.VolumeSource{
    			ISCSI: &v1.ISCSIVolumeSource{
    				TargetPortal: "127.0.0.1:3260",
    				IQN:          "iqn.2014-12.server:storage.target01",
    				FSType:       "ext4",
    				Lun:          0,
    			},
    		},
    	}
    	doTestPlugin(t, volume.NewSpecFromVolume(vol))
    }
    
    func TestPluginPersistentVolume(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/readonly_references_to_resources.mlir

      // composition and order.
    
      // CHECK: "tf.ReadVariableOp"
      // CHECK: "tf.ReadVariableOp"
      %val0 = "tf.VariableV2"() {_class = ["loc:@v"], container = "", device = "", shape = #tf_type.shape<96>, shared_name = ""} : () -> tensor<96x!tf_type.f32ref>
      %val1 = "tf.Identity"(%val0) : (tensor<96x!tf_type.f32ref>) -> tensor<96xf32>
      %val2 = "tf.Identity"(%val0) : (tensor<96x!tf_type.f32ref>) -> tensor<96xf32>
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. cmd/storage-interface.go

    	// Volume operations.
    	MakeVol(ctx context.Context, volume string) (err error)
    	MakeVolBulk(ctx context.Context, volumes ...string) (err error)
    	ListVols(ctx context.Context) (vols []VolInfo, err error)
    	StatVol(ctx context.Context, volume string) (vol VolInfo, err error)
    	DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error)
    
    	// WalkDir will walk a directory on disk and return a metacache stream on wr.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. pkg/volume/fc/fc_test.go

    		VolumeSource: v1.VolumeSource{
    			FC: &v1.FCVolumeSource{
    				FSType: "ext4",
    			},
    		},
    	}
    	doTestPluginNilMounter(t, volume.NewSpecFromVolume(vol))
    }
    
    func TestPluginPersistentVolumeNoDiskInfo(t *testing.T) {
    	fs := v1.PersistentVolumeFilesystem
    	vol := &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "vol1",
    		},
    		Spec: v1.PersistentVolumeSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 14.1K bytes
    - Viewed (0)
Back to top