Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,066 for Backend (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. common-protos/k8s.io/api/networking/v1beta1/generated.proto

      // +optional
      optional string ingressClassName = 4;
    
      // backend is the default backend capable of servicing requests that don't match any
      // rule. At least one of 'backend' or 'rules' must be specified. This field
      // is optional to allow the loadbalancer controller or defaulting logic to
      // specify a global default.
      // +optional
      optional IngressBackend backend = 1;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. pkg/apis/networking/v1beta1/conversion_test.go

    	}{
    		"service-port-number": {
    			external: v1beta1.IngressSpec{
    				Backend: &v1beta1.IngressBackend{
    					ServiceName: "test-backend",
    					ServicePort: intstr.FromInt32(8080),
    				},
    			},
    			internal: networking.IngressSpec{
    				DefaultBackend: &networking.IngressBackend{
    					Service: &networking.IngressServiceBackend{
    						Name: "test-backend",
    						Port: networking.ServiceBackendPort{
    							Name:   "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompilerFacility.kt

    import org.jetbrains.kotlin.backend.common.phaser.PhaseConfig
    import org.jetbrains.kotlin.backend.jvm.FacadeClassSourceShimForFragmentCompilation
    import org.jetbrains.kotlin.backend.jvm.JvmGeneratorExtensionsImpl
    import org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory
    import org.jetbrains.kotlin.backend.jvm.jvmPhases
    import org.jetbrains.kotlin.codegen.KotlinCodegenFacade
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top