Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for makeClient (0.21 sec)

  1. pkg/controller/statefulset/stateful_pod_control_test.go

    	set := newStatefulSet(3)
    	pod := newStatefulSetPod(set, 0)
    	fakeClient := &fake.Clientset{}
    	claimIndexer := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc})
    	claimLister := corelisters.NewPersistentVolumeClaimLister(claimIndexer)
    	control := NewStatefulPodControl(fakeClient, nil, claimLister, recorder)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  2. pkg/kubelet/util/manager/cache_based_manager_test.go

    	store.Get("ns1", "s20")
    	store.Get("ns1", "s3")
    	actions = fakeClient.Actions()
    	assert.Equal(t, 3, len(actions), "unexpected actions: %#v", actions)
    	fakeClient.ClearActions()
    }
    
    func TestRegisterIdempotence(t *testing.T) {
    	fakeClient := &fake.Clientset{}
    	fakeClock := testingclock.NewFakeClock(time.Now())
    	store := newSecretStore(fakeClient, fakeClock, noObjectTTL, time.Minute)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top