Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 585 for driver1 (0.12 sec)

  1. pkg/apis/storage/v1beta1/defaults_test.go

    	}
    }
    
    func TestSetDefaultAttachRequired(t *testing.T) {
    	driver := &storagev1beta1.CSIDriver{}
    
    	// field should be defaulted
    	defaultAttach := true
    	defaultPodInfo := false
    	output := roundTrip(t, runtime.Object(driver)).(*storagev1beta1.CSIDriver)
    	outAttach := output.Spec.AttachRequired
    	if outAttach == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. src/database/sql/convert_test.go

    		t.Errorf("expecting blank on nil; got %q", ns.String)
    	}
    }
    
    type valueConverterTest struct {
    	c       driver.ValueConverter
    	in, out any
    	err     string
    }
    
    var valueConverterTests = []valueConverterTest{
    	{driver.DefaultParameterConverter, NullString{"hi", true}, "hi", ""},
    	{driver.DefaultParameterConverter, NullString{"", false}, nil, ""},
    }
    
    func TestValueConverters(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_mounter.go

    	case csiDriver == nil:
    		return fmt.Errorf("volume mode %q not supported by driver %s (no CSIDriver object)", c.volumeLifecycleMode, driver)
    	case containsVolumeMode(csiDriver.Spec.VolumeLifecycleModes, c.volumeLifecycleMode):
    		// Explicitly listed.
    		return nil
    	default:
    		return fmt.Errorf("volume mode %q not supported by driver %s (only supports %q)", c.volumeLifecycleMode, driver, csiDriver.Spec.VolumeLifecycleModes)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 10:47:59 UTC 2024
    - 21K bytes
    - Viewed (1)
  4. common-protos/k8s.io/api/policy/v1beta1/generated.proto

    // AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.
    message AllowedCSIDriver {
      // Name is the registered name of the CSI driver
      optional string name = 1;
    }
    
    // AllowedFlexVolume represents a single Flexvolume that is allowed to be used.
    message AllowedFlexVolume {
      // driver is the name of the Flexvolume driver.
      optional string driver = 1;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecIntegrationTest.groovy

                    mainClass = "driver.Driver"
                    args "1"
                }
            """
        }
    
        private static String mainClass(String body) {
            """
                package driver;
    
                import java.io.*;
                import java.lang.System;
    
                public class Driver {
                    public static void main(String[] args) {
                    ${body}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. pkg/apis/storage/v1/defaults_test.go

    		t.Errorf("%v\nSource: %#v", err, obj2)
    		return nil
    	}
    	return obj3
    }
    
    func TestSetDefaultStorageCapacityEnabled(t *testing.T) {
    	driver := &storagev1.CSIDriver{}
    
    	// field should be defaulted
    	defaultStorageCapacity := false
    	output := roundTrip(t, runtime.Object(driver)).(*storagev1.CSIDriver)
    	outStorageCapacity := output.Spec.StorageCapacity
    	if outStorageCapacity == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. utils/utils_test.go

    		{"error not equal", errors.New("1"), errors.New("2"), false},
    		{"driver.Valuer equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now, Valid: true}, true},
    		{"driver.Valuer not equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now.Add(time.Second), Valid: true}, false},
    		{"driver.Valuer equal (ptr to nil ptr)", (*ModifyAt)(nil), &ModifyAt{}, false},
    	}
    	for _, test := range assertEqualTests {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Feb 19 03:42:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. cmd/metrics-resource.go

    		readsPerSec:       "Reads per second on a drive",
    		writesPerSec:      "Writes per second on a drive",
    		readsKBPerSec:     "Kilobytes read per second on a drive",
    		writesKBPerSec:    "Kilobytes written per second on a drive",
    		readsAwait:        "Average time for read requests to be served on a drive",
    		writesAwait:       "Average time for write requests to be served on a drive",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/dra/plugin/noderesources.go

    	}
    
    	if loggerV := logger.V(6); loggerV.Enabled() {
    		// Dump entire resource information.
    		loggerV.Info("Syncing existing driver node resource slices with driver resources", "slices", klog.KObjSlice(slices), "resources", driverResources)
    	} else {
    		logger.V(5).Info("Syncing existing driver node resource slices with driver resources", "slices", klog.KObjSlice(slices), "numResources", len(driverResources))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. pkg/volume/csi/csi_attacher.go

    	}
    
    	if driverSupportsCSIVolumeMountGroup {
    		klog.V(3).Infof("Driver %s supports applying FSGroup (has VOLUME_MOUNT_GROUP node capability). Delegating FSGroup application to the driver through NodeStageVolume.", csiSource.Driver)
    		nodeStageFSGroupArg = deviceMounterArgs.FsGroup
    	}
    
    	fsType := csiSource.FSType
    	err = csi.NodeStageVolume(ctx,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 07:38:14 UTC 2023
    - 25.9K bytes
    - Viewed (0)
Back to top