Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for nodeclient (0.47 sec)

  1. pkg/volume/csi/csi_mounter_test.go

    				} else {
    					t.Errorf("SetUp() failed: %v", err)
    				}
    			}
    
    			// ensure call went all the way
    			pubs := csiMounter.csiClient.(*fakeCsiDriverClient).nodeClient.GetNodePublishedVolumes()
    			vol, ok := pubs[csiMounter.volumeID]
    			if !ok {
    				t.Error("csi server may not have received NodePublishVolume call")
    			}
    			if vol.Path != csiMounter.GetPath() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    			}
    
    			// Verify call goes through all the way
    			numStaged := 1
    			if !tc.stageUnstageSet {
    				numStaged = 0
    			}
    
    			cdc := csiAttacher.csiClient.(*fakeCsiDriverClient)
    			staged := cdc.nodeClient.GetNodeStagedVolumes()
    			if len(staged) != numStaged {
    				t.Errorf("got wrong number of staged volumes, expecting %v got: %v", numStaged, len(staged))
    			}
    			if tc.stageUnstageSet {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. pkg/controller/disruption/disruption_test.go

    }
    
    func newFakeDisruptionControllerWithTime(ctx context.Context, now time.Time) (*disruptionController, *pdbStates) {
    	ps := &pdbStates{}
    
    	coreClient := fake.NewSimpleClientset()
    	informerFactory := informers.NewSharedInformerFactory(coreClient, controller.NoResyncPeriodFunc())
    
    	scheme := runtime.NewScheme()
    	scheme.AddKnownTypeWithName(customGVK, &v1.Service{})
    	fakeScaleClient := &scalefake.FakeScaleClient{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. src/crypto/tls/common.go

    }
    
    var supportedVersions = []uint16{
    	VersionTLS13,
    	VersionTLS12,
    	VersionTLS11,
    	VersionTLS10,
    }
    
    // roleClient and roleServer are meant to call supportedVersions and parents
    // with more readability at the callsite.
    const roleClient = true
    const roleServer = false
    
    var tls10server = godebug.New("tls10server")
    
    func (c *Config) supportedVersions(isClient bool) []uint16 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			return false
    		}
    	}
    	return true
    }
    
    func addPods(t *testing.T, controller *FakeController, fx *xdsfake.Updater, pods ...*corev1.Pod) {
    	pc := clienttest.Wrap(t, controller.podsClient)
    	for _, pod := range pods {
    		newPod := pc.CreateOrUpdate(pod)
    		setPodReady(newPod)
    		// Apiserver doesn't allow Create/Update to modify the pod status. Creating doesn't result in
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
Back to top