Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for expectedVolumeSpecName (0.25 sec)

  1. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    	}
    }
    
    func verifyVolumeExistsWithSpecNameInVolumeDsw(
    	t *testing.T,
    	expectedPodName volumetypes.UniquePodName,
    	expectedVolumeSpecName string,
    	dsw DesiredStateOfWorld) {
    	if podExistsInVolume := dsw.VolumeExistsWithSpecName(
    		expectedPodName, expectedVolumeSpecName); !podExistsInVolume {
    		t.Fatalf(
    			"DSW VolumeExistsWithSpecNam returned incorrect value. Expected: <true> Actual: <%v>",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go

    	expectedNodeName k8stypes.NodeName,
    	expectedVolumeName v1.UniqueVolumeName,
    	expectedVolumeSpecName string) {
    	for _, volumeToAttach := range volumesToAttach {
    		if volumeToAttach.NodeName == expectedNodeName &&
    			volumeToAttach.VolumeName == expectedVolumeName &&
    			volumeToAttach.VolumeSpec.Name() == expectedVolumeSpecName {
    			return
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    	expectedVolumeName v1.UniqueVolumeName,
    	expectedVolumeSpecName string,
    	expectedNodeName types.NodeName,
    	expectedDevicePath string,
    	expectedMountedByNode,
    	expectNonZeroDetachRequestedTime bool) {
    	for _, attachedVolume := range attachedVolumes {
    		if attachedVolume.VolumeName == expectedVolumeName &&
    			attachedVolume.VolumeSpec.Name() == expectedVolumeSpecName &&
    			attachedVolume.NodeName == expectedNodeName &&
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
Back to top