Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,052 for backHand (0.11 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered.go

    	// This WaitGroup is used to wait for all sending routines to finish before shutting down audit backend.
    	wg sync.WaitGroup
    
    	// Limits the number of batches sent to the delegate backend per second.
    	throttle flowcontrol.RateLimiter
    }
    
    var _ audit.Backend = &bufferedBackend{}
    
    // NewBackend returns a buffered audit backend that wraps delegate backend.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/ingress/conversion.go

    }
    
    func ingressBackendToHTTPRoute(backend *knetworking.IngressBackend, namespace string,
    	domainSuffix string, services kclient.Client[*corev1.Service],
    ) *networking.HTTPRoute {
    	if backend == nil {
    		return nil
    	}
    
    	port := &networking.PortSelector{}
    
    	if backend.Service == nil {
    		log.Infof("backend service must be specified")
    		return nil
    	}
    	if backend.Service.Port.Number > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 07:19:43 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/ingress/controller_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Namespace: "mock", // goes into backend full name
    			Name:      "test",
    		},
    		Spec: net.IngressSpec{
    			Rules: []net.IngressRule{
    				{
    					Host: "my.host.com",
    					IngressRuleValue: net.IngressRuleValue{
    						HTTP: &net.HTTPIngressRuleValue{
    							Paths: []net.HTTPIngressPath{
    								{
    									Path: "/test",
    									Backend: net.IngressBackend{
    										Service: &net.IngressServiceBackend{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 18:34:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware_test.go

    	for _, code := range []int{400, 500} {
    		t.Run(fmt.Sprintf("code=%v", code), func(t *testing.T) {
    			// Set up a backend server
    			backend := http.NewServeMux()
    			backend.Handle("/hello", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    				w.WriteHeader(code)
    				w.Write([]byte(`some data`))
    			}))
    			backend.Handle("/there", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    				t.Error("request to /there")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 39.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/factory.go

    type DestroyFunc func()
    
    // Create creates a storage backend based on given config.
    func Create(c storagebackend.ConfigForResource, newFunc, newListFunc func() runtime.Object, resourcePrefix string) (storage.Interface, DestroyFunc, error) {
    	switch c.Type {
    	case storagebackend.StorageTypeETCD2:
    		return nil, nil, fmt.Errorf("%s is no longer a supported storage backend", c.Type)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/audit/webhook/webhook.go

    	}
    
    	w.ShouldRetry = retryOnError
    	return w, nil
    }
    
    type backend struct {
    	w    *webhook.GenericWebhook
    	name string
    }
    
    // NewDynamicBackend returns an audit backend configured from a REST client that
    // sends events over HTTP to an external service.
    func NewDynamicBackend(rc *rest.RESTClient, retryBackoff wait.Backoff) audit.Backend {
    	return &backend{
    		w: &webhook.GenericWebhook{
    			RestClient:   rc,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 21:13:31 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

            isDaemon = true
            uncaughtExceptionHandler = loggingUncaughtExceptionHandler
          }
        }
    
      private val backend = TaskRunner.RealBackend(threadFactory)
      private val taskRunner = TaskRunner(backend)
      private val queue = taskRunner.newQueue()
    
      @AfterEach fun tearDown() {
        backend.shutdown()
      }
    
      @Test fun test() {
        val t1 = System.nanoTime() / 1e6
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/audit/types.go

    	ProcessEvents(events ...*auditinternal.Event) bool
    }
    
    type Backend interface {
    	Sink
    
    	// Run will initialize the backend. It must not block, but may run go routines in the background. If
    	// stopCh is closed, it is supposed to stop them. Run will be called before the first call to ProcessEvents.
    	Run(stopCh <-chan struct{}) error
    
    	// Shutdown will synchronously shut down the backend while making sure that all pending
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 16 09:32:49 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  9. hack/testdata/redis-slave-replicaset.yaml

      labels:
        app: redis
        role: slave
        tier: backend
    spec:
      # this replicas value is default
      # modify it according to your case
      replicas: 2
      selector:
        matchLabels:
          app: redis
          role: slave
          tier: backend
      template:
        metadata:
          labels:
            app: redis
            role: slave
            tier: backend
        spec:
          containers:
          - name: slave
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 19 16:19:12 UTC 2018
    - 981 bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/cors.md

    So, let's say you have a frontend running in your browser at `http://localhost:8080`, and its JavaScript is trying to communicate with a backend running at `http://localhost` (because we don't specify a port, the browser will assume the default port `80`).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 13 20:28:37 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top