Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PortForName (0.24 sec)

  1. tests/integration/ambient/testdata/gateway-api.yaml

    spec:
      parentRefs:
      - name: {{ .To.ServiceName }}-gateway
      hostnames:
      - "*.{{ .To.ServiceName }}.com"
      rules:
      - backendRefs:
        - name: "{{ .To.ServiceName }}"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 21:02:05 UTC 2024
    - 574 bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/match/matchers_test.go

    }
    
    func (f fakeInstance) ID() resource.ID {
    	panic("implement me")
    }
    
    func (f fakeInstance) NamespacedName() echo.NamespacedName {
    	return f.Config().NamespacedName()
    }
    
    func (f fakeInstance) PortForName(name string) echo.Port {
    	return f.Config().Ports.MustForName(name)
    }
    
    func (f fakeInstance) Config() echo.Config {
    	cfg := echo.Config(f)
    	_ = cfg.FillDefaults(nil)
    	return cfg
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/echotest/filters_test.go

    }
    
    func (f fakeInstance) ID() resource.ID {
    	panic("implement me")
    }
    
    func (f fakeInstance) NamespacedName() echo.NamespacedName {
    	return f.Config().NamespacedName()
    }
    
    func (f fakeInstance) PortForName(name string) echo.Port {
    	return f.Config().Ports.MustForName(name)
    }
    
    func (f fakeInstance) Config() echo.Config {
    	cfg := echo.Config(f)
    	_ = cfg.FillDefaults(nil)
    	return cfg
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. tests/integration/ambient/waypoint_test.go

    			t.ConfigKube().
    				New().
    				Eval(
    					apps.Namespace.Name(),
    					map[string]any{
    						"Service":   Captured,
    						"Namespace": apps.Namespace.Name(),
    						"Port":      apps.Captured.PortForName("http").ServicePort,
    					},
    					config).
    				ApplyOrFail(t, apply.CleanupConditionally)
    
    			retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. tests/integration/ambient/baseline_test.go

    								// TODO validate L7 processing/some headers indicating we reach the svc we wanted
    								from.CallOrFail(t, echo.CallOptions{
    									Address: "111.111.222.222",
    									Port:    to.PortForName("http"),
    									// If request is sent before service is processed it will hit 10s timeout, so fail faster
    									Timeout: time.Millisecond * 500,
    								})
    							})
    					})
    				}
    			}
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top