Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for duck (0.04 sec)

  1. plugin/pkg/admission/namespace/exists/admission_test.go

    	namespace := "test"
    	mockClient := newMockClientForTest([]string{})
    	mockClient.AddReactor("get", "namespaces", func(action core.Action) (bool, runtime.Object, error) {
    		return true, nil, fmt.Errorf("nope, out of luck")
    	})
    	handler, informerFactory, err := newHandlerForTest(mockClient)
    	if err != nil {
    		t.Errorf("unexpected error initializing handler: %v", err)
    	}
    	informerFactory.Start(wait.NeverStop)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/runtime/write_err_android.go

    	if errno < 0 {
    		msg := []byte("runtime: cannot connect to /dev/socket/logdw\x00")
    		write(2, unsafe.Pointer(&msg[0]), int32(len(msg)))
    		// TODO(hakim): or should we just close fd and hope for better luck next time?
    		exit(2)
    	}
    	writeFD = uintptr(fd)
    
    	// Prepopulate invariant part of the header.
    	// The first 11 bytes will be populated later in writeLogdHeader.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access.go

    		}
    	}
    
    	resourceQuotas := []corev1.ResourceQuota{}
    	for i := range items {
    		quota := items[i]
    		quota = e.checkCache(quota)
    		// always make a copy.  We're going to muck around with this and we should never mutate the originals
    		resourceQuotas = append(resourceQuotas, *quota)
    	}
    
    	return resourceQuotas, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 13:54:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top