Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for serverBurst (0.16 sec)

  1. plugin/pkg/admission/eventratelimit/admission_test.go

    		{
    			name:        "event not blocked when tokens available",
    			serverBurst: 3,
    			requests: []request{
    				newEventRequest(),
    			},
    		},
    		{
    			name:        "non-event not blocked",
    			serverBurst: 3,
    			requests: []request{
    				newNonEventRequest(),
    			},
    		},
    		{
    			name:        "event blocked after tokens exhausted",
    			serverBurst: 3,
    			requests: []request{
    				newEventRequest(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 17 13:19:08 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  2. pkg/test/echo/cmd/server/main.go

    					Port:        p,
    					TLS:         tlsByPort[p],
    					ServerFirst: serverFirstByPort[p],
    				}
    				portIndex++
    			}
    			for i, p := range grpcPorts {
    				ports[portIndex] = &common.Port{
    					Name:        "grpc-" + strconv.Itoa(i),
    					Protocol:    protocol.GRPC,
    					Port:        p,
    					TLS:         tlsByPort[p],
    					ServerFirst: serverFirstByPort[p],
    					XDSServer:   xdsGRPCByPort[p],
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. pkg/test/echo/cmd/client/main.go

    		Count:                   int32(count),
    		Qps:                     int32(qps),
    		Message:                 msg,
    		Http2:                   http2,
    		Http3:                   http3,
    		ServerFirst:             serverFirst,
    		FollowRedirects:         followRedirects,
    		Method:                  method,
    		ServerName:              serverName,
    		InsecureSkipVerify:      insecureSkipVerify,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/common/ports/ports.go

    	TCPServer        = echo.Port{Name: "tcp-server", Protocol: protocol.TCP, ServicePort: 9091, WorkloadPort: 16060, ServerFirst: true}
    	AutoTCP          = echo.Port{Name: "auto-tcp", Protocol: protocol.TCP, ServicePort: 9092, WorkloadPort: 19091}
    	AutoTCPServer    = echo.Port{Name: "auto-tcp-server", Protocol: protocol.TCP, ServicePort: 9093, WorkloadPort: 16061, ServerFirst: true}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 08 16:17:34 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. pkg/test/echo/common/model.go

    	// service.
    	Port int
    
    	// Protocol to be used for the port.
    	Protocol protocol.Instance
    
    	// TLS determines if the port will use TLS.
    	TLS bool
    
    	// ServerFirst if a port will be server first
    	ServerFirst bool
    
    	// InstanceIP determines if echo will listen on the instance IP, or wildcard
    	InstanceIP bool
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 05 00:22:45 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/port.go

    	WorkloadPort int
    
    	// TLS determines whether the connection will be plain text or TLS. By default this is false (plain text).
    	TLS bool
    
    	// ServerFirst determines whether the port will use server first communication, meaning the client will not send the first byte.
    	ServerFirst bool
    
    	// InstanceIP determines if echo will listen on the instance IP; otherwise, it will listen on wildcard
    	InstanceIP bool
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 13 18:10:05 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/common/call.go

    		ExpectedResponse:        opts.TCP.ExpectedResponse,
    		Http2:                   opts.HTTP.HTTP2,
    		Http3:                   opts.HTTP.HTTP3,
    		Method:                  opts.HTTP.Method,
    		ServerFirst:             opts.Port.ServerFirst,
    		Cert:                    opts.TLS.Cert,
    		Key:                     opts.TLS.Key,
    		CaCert:                  opts.TLS.CaCert,
    		CertFile:                opts.TLS.CertFile,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. pkg/test/echo/proto/echo.proto

      bool http2 = 7;
      // If true, requests will be sent using http3
      bool http3 = 15;
      // If true, requests will not be sent until magic string is received
      bool serverFirst = 8;
      // If true, 301 redirects will be followed
      bool followRedirects = 14;
      // If non-empty, make the request with the corresponding cert and key.
      string cert = 10;
      string key = 11;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 31 17:42:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/kube/templates/deployment.yaml

    {{- else if eq .Protocol "TCP" }}
              - --tcp={{ $p.Port }}
    {{- else }}
              - --port={{ $p.Port }}
    {{- end }}
    {{- if $p.TLS }}
              - --tls={{ $p.Port }}
    {{- end }}
    {{- if $p.ServerFirst }}
              - --server-first={{ $p.Port }}
    {{- end }}
    {{- if $p.InstanceIP }}
              - --bind-ip={{ $p.Port }}
    {{- end }}
    {{- if $p.LocalhostIP }}
              - --bind-localhost={{ $p.Port }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. pkg/test/echo/server/forwarder/tcp.go

    	}
    	if err := conn.SetReadDeadline(deadline); err != nil {
    		return msgBuilder.String(), err
    	}
    
    	// For server first protocol, we expect the server to send us the magic string first
    	if cfg.Request.ServerFirst {
    		readBytes, err := bufio.NewReader(conn).ReadBytes('\n')
    		if err != nil {
    			fwLog.Warnf("server first TCP read failed: %v", err)
    			return "", err
    		}
    		if string(readBytes) != common.ServerFirstMagicString {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top