Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for withMounts (0.17 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. staging/src/k8s.io/client-go/applyconfigurations/core/v1/eventseries.go

    	return &EventSeriesApplyConfiguration{}
    }
    
    // WithCount sets the Count field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Count field is set to the value of the last call.
    func (b *EventSeriesApplyConfiguration) WithCount(value int32) *EventSeriesApplyConfiguration {
    	b.Count = &value
    	return b
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/client-go/applyconfigurations/core/v1/event.go

    	b.LastTimestamp = &value
    	return b
    }
    
    // WithCount sets the Count field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Count field is set to the value of the last call.
    func (b *EventApplyConfiguration) WithCount(value int32) *EventApplyConfiguration {
    	b.Count = &value
    	return b
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 17.8K bytes
    - Viewed (0)
Back to top