Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for serviceEntryPorts (0.4 sec)

  1. pkg/test/framework/components/echo/common/deployment/namespace.go

    	return cfg.Eval(deployedNamespace.Name(), map[string]any{
    		"Namespace":        externalNamespace.Name(),
    		"Hostname":         ExternalHostname,
    		"Ports":            serviceEntryPorts(),
    		"ManuallyAllocate": manuallyAllocate,
    	}, `apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: external-service
    spec:
    {{- if .ManuallyAllocate }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/common/deployment/echos.go

    		Ns1:       e.NS[0],
    		Ns2:       e.NS[1],
    		Ns1AndNs2: ns1AndNs2,
    		External:  e.External,
    		All:       ns1AndNs2.Append(e.External.All.Services()),
    		echos:     e,
    	}
    }
    
    func serviceEntryPorts() []echo.Port {
    	var res []echo.Port
    	for _, p := range ports.All().GetServicePorts() {
    		if strings.HasPrefix(p.Name, "auto") {
    			// The protocol needs to be set in common.EchoPorts to configure the echo deployment
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top