Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for worklist (0.23 sec)

  1. pilot/pkg/networking/core/listener_test.go

    	}
    	service4 := &model.Service{
    		CreationTime:   tnow.Add(1 * time.Second),
    		Hostname:       host.Name("test4.com"),
    		DefaultAddress: wildcardIPv4,
    		Ports: model.PortList{
    			&model.Port{
    				Name:     "udp",
    				Port:     9000,
    				Protocol: protocol.GRPC,
    			},
    		},
    		Resolution: model.Passthrough,
    		Attributes: model.ServiceAttributes{
    			Namespace: "default",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/kube/deployment.go

    }
    
    // getContainerPorts converts the ports to a port list of container ports.
    // Adds ports for health/readiness if necessary.
    func getContainerPorts(cfg echo.Config) echoCommon.PortList {
    	ports := cfg.Ports
    	containerPorts := make(echoCommon.PortList, 0, len(ports))
    	var healthPort *echoCommon.Port
    	var readyPort *echoCommon.Port
    	for _, p := range ports {
    		// Add the port to the set of application ports.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. pkg/test/echo/cmd/server/main.go

    		SilenceUsage:      true,
    		Long:              `Echo application for testing Istio E2E`,
    		PersistentPreRunE: configureLogging,
    		Run: func(cmd *cobra.Command, args []string) {
    			ports := make(common.PortList, len(httpPorts)+len(grpcPorts)+len(tcpPorts)+len(udpPorts)+len(hbonePorts))
    			tlsByPort := map[int]bool{}
    			for _, p := range tlsPorts {
    				tlsByPort[p] = true
    			}
    			serverFirstByPort := map[int]bool{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/elf_test.go

    				t.Fatalf("DT_FLAGS_1 DF_1_PIE got: %v, want: %v", gotDf1Pie, test.wantDf1Pie)
    			}
    
    			wsrolists := [][]string{test.wantSecsRO, test.wantSecsROIfPresent}
    			for k, wsrolist := range wsrolists {
    				for _, wsroname := range wsrolist {
    					// Locate section of interest.
    					var wsro *elf.Section
    					for _, s := range elfFile.Sections {
    						if s.Name == wsroname {
    							wsro = s
    							break
    						}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/conversion.go

    		resolution = model.DNSLB
    	case networking.ServiceEntry_DNS_ROUND_ROBIN:
    		resolution = model.DNSRoundRobinLB
    	case networking.ServiceEntry_STATIC:
    		resolution = model.ClientSideLB
    	}
    
    	svcPorts := make(model.PortList, 0, len(serviceEntry.Ports))
    	var portOverrides map[uint32]uint32
    	for _, port := range serviceEntry.Ports {
    		svcPorts = append(svcPorts, convertPort(port))
    		if resolution == model.Passthrough && port.TargetPort != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. pkg/test/echo/server/instance.go

    	"istio.io/istio/pkg/monitoring"
    	"istio.io/istio/pkg/test/echo/common"
    	"istio.io/istio/pkg/test/echo/server/endpoint"
    )
    
    // Config for an echo server Instance.
    type Config struct {
    	Ports                 common.PortList
    	BindIPPortsMap        map[int]struct{}
    	BindLocalhostPortsMap map[int]struct{}
    	Metrics               int
    	TLSCert               string
    	TLSKey                string
    	Version               string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 07:54:01 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_builder_test.go

    )
    
    func TestApplyDestinationRule(t *testing.T) {
    	servicePort := model.PortList{
    		&model.Port{
    			Name:     "default",
    			Port:     8080,
    			Protocol: protocol.HTTP,
    		},
    		&model.Port{
    			Name:     "auto",
    			Port:     9090,
    			Protocol: protocol.Unsupported,
    		},
    	}
    	http2ServicePort := model.PortList{
    		&model.Port{
    			Name:     "default",
    			Port:     8080,
    			Protocol: protocol.HTTP2,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  8. cni/pkg/plugin/sidecar_redirect.go

    			}
    			ports = append(ports, int(port))
    		}
    	}
    	return ports, nil
    }
    
    func validatePortList(ports string) error {
    	if _, err := parsePorts(ports); err != nil {
    		return fmt.Errorf("portList %q invalid: %v", ports, err)
    	}
    	return nil
    }
    
    func validatePortListWithWildcard(ports string) error {
    	if ports != "*" {
    		return validatePortList(ports)
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/memory/discovery.go

    // specified vip and port.
    func (sd *ServiceDiscovery) AddHTTPService(name, vip string, port int) {
    	sd.AddService(&model.Service{
    		Hostname:       host.Name(name),
    		DefaultAddress: vip,
    		Ports: model.PortList{
    			{
    				Name:     "http-main",
    				Port:     port,
    				Protocol: protocol.HTTP,
    			},
    		},
    	})
    }
    
    // AddService adds an in-memory service and notifies
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 23:10:01 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. pilot/pkg/model/service_test.go

    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/config/labels"
    	"istio.io/istio/pkg/config/visibility"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestGetByPort(t *testing.T) {
    	ports := PortList{{
    		Name: "http",
    		Port: 80,
    	}}
    
    	if port, exists := ports.GetByPort(80); !exists || port == nil || port.Name != "http" {
    		t.Errorf("GetByPort(80) => want http but got %v, %t", port, exists)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top