Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withMounts (0.14 sec)

  1. pkg/kubelet/cm/devicemanager/manager_test.go

    func withDevices(devices map[string]string) containerAllocateResponseBuilderOption {
    	return func(b *containerAllocateResponseBuilder) {
    		b.devices = devices
    	}
    }
    
    // withMounts sets the mounts for the containerAllocateResponseBuilder
    func withMounts(mounts map[string]string) containerAllocateResponseBuilderOption {
    	return func(b *containerAllocateResponseBuilder) {
    		b.mounts = mounts
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    	podDevices.insert(podID, contID, resourceName1,
    		devices,
    		newContainerAllocateResponse(
    			withDevices(map[string]string{"/dev/r1dev1": "/dev/r1dev1", "/dev/r1dev2": "/dev/r1dev2"}),
    			withMounts(map[string]string{"/home/r1lib1": "/usr/r1lib1"}),
    		),
    	)
    
    	resContDevices := podDevices.getContainerDevices(podID, contID)
    	contDevices, ok := resContDevices[resourceName1]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        TypeVariable<?> noBound = withBounds(noBoundJvmType);
        TypeVariable<?> objectBound = withBounds(objectBoundJvmType, Object.class);
        TypeVariable<?> upperBound = withBounds(upperBoundJvmType, Number.class, CharSequence.class);
    
        assertEqualTypeVariable(noBoundJvmType, noBound);
        assertEqualTypeVariable(noBoundJvmType, withBounds(noBoundJvmType, Object.class));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypesTest.java

        TypeVariable<?> noBound = withBounds(noBoundJvmType);
        TypeVariable<?> objectBound = withBounds(objectBoundJvmType, Object.class);
        TypeVariable<?> upperBound = withBounds(upperBoundJvmType, Number.class, CharSequence.class);
    
        assertEqualTypeVariable(noBoundJvmType, noBound);
        assertEqualTypeVariable(noBoundJvmType, withBounds(noBoundJvmType, Object.class));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top