Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HostnameVariants (0.23 sec)

  1. pkg/test/framework/components/echo/config.go

    	} else {
    		out += ".default.svc"
    	}
    	out += "." + constants.DefaultClusterSetLocalDomain
    	return out
    }
    
    // HostnameVariants for a Kubernetes service.
    // Results may be invalid for non k8s.
    func (c Config) HostnameVariants() []string {
    	ns := c.NamespaceName()
    	if ns == "" {
    		ns = "default"
    	}
    	return []string{
    		c.Service,
    		c.Service + "." + ns,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. tests/integration/ambient/waypoint_test.go

    					if src.Config().HasSidecar() {
    						t.Skip("TODO: sidecars don't properly handle use-waypoint")
    					}
    					for _, host := range apps.Captured.Config().HostnameVariants() {
    						host := host
    						t.NewSubTestf("to %s", host).Run(func(t framework.TestContext) {
    							src.CallOrFail(t, echo.CallOptions{
    								To:      apps.Captured,
    								Address: host,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top