Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for attachedVolumes (0.18 sec)

  1. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    	}
    
    	attachedVolumes := asw.GetAttachedVolumes()
    	if len(attachedVolumes) != 1 {
    		t.Fatalf("len(attachedVolumes) Expected: <1> Actual: <%v>", len(attachedVolumes))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    		Jitter:   0,
    		Steps:    6,
    	}
    	return wait.ExponentialBackoff(backoff, fn)
    }
    
    func createTestClient(attachedVolumes ...v1.AttachedVolume) *fake.Clientset {
    	fakeClient := &fake.Clientset{}
    	if len(attachedVolumes) == 0 {
    		attachedVolumes = append(attachedVolumes, v1.AttachedVolume{
    			Name:       "fake-plugin/fake-device1",
    			DevicePath: "fake/path",
    		})
    	}
    	fakeClient.AddReactor("get", "nodes",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top