Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for register_handler (0.18 sec)

  1. pkg/kube/multicluster/fake.go

    // limitations under the License.
    
    package multicluster
    
    import (
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/kube"
    )
    
    type Fake struct {
    	handlers []handler
    }
    
    func (f *Fake) registerHandler(h handler) {
    	f.handlers = append(f.handlers, h)
    }
    
    func (f *Fake) Add(id cluster.ID, client kube.Client, stop chan struct{}) {
    	for _, handler := range f.handlers {
    		handler.clusterAdded(&Cluster{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batch_function_fallback_benchmark_test.cc

      CHECK(corert);
      auto fallback_op_handler = tensorflow::tfd::CreateKernelFallbackOpHandler(
          corert->get(), corert->get()->GetHostContext()->GetHostDeviceRef());
      CHECK(fallback_op_handler);
      corert.get()->RegisterOpHandler("tfkernel", fallback_op_handler.get());
      return std::move(corert.get());
    }
    
    tfrt::RCArray<tfrt::AsyncValue> CreateTestArguments(const tfrt::Function* func,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 08 08:08:48 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/serviceexportcache.go

    			ObjectFilter: ec.client.ObjectFilter(),
    		})
    		// Register callbacks for events.
    		registerHandlers(ec.Controller, ec.serviceExports, "ServiceExports", ec.onServiceExportEvent, nil)
    
    		// Set the discoverability policy for the clusterset.local host.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. internal/grid/README.md

    From this connection individual requests can be made.
    
    Each handler, with optional subroutes can be registered with the manager using 
    `Manager.RegisterXHandler(handlerID, handler, subroutes...)`.
    
    A `Handler()` function provides an HTTP handler, which should be hooked up to the appropriate route on the server.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top