Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for awaitReady (0.12 sec)

  1. pkg/test/echo/server/endpoint/udp.go

    				epLog.WithLabels("id", id).Warnf("UDP failed writing echo response: %v", err)
    			}
    		}
    	}()
    
    	// Notify the WaitGroup once the port has transitioned to ready.
    	go s.awaitReady(onReady, listener.LocalAddr().String())
    	return nil
    }
    
    func (s *udpInstance) getResponseFields(conn net.Addr) string {
    	ip, _, _ := net.SplitHostPort(conn.String())
    	// Write non-request fields specific to the instance
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. pkg/test/echo/server/endpoint/tcp.go

    					_ = forceClose(conn)
    					return
    				}
    			}()
    		}
    	}()
    
    	// Notify the WaitGroup once the port has transitioned to ready.
    	go s.awaitReady(onReady, listener.Addr().String())
    
    	return nil
    }
    
    // Handles incoming connection.
    func (s *tcpInstance) echo(id uuid.UUID, conn net.Conn) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. pkg/test/echo/server/endpoint/grpc.go

    	}()
    
    	// Notify the WaitGroup once the port has transitioned to ready.
    	go s.awaitReady(func() {
    		healthServer.SetServingStatus("", grpcHealth.HealthCheckResponse_SERVING)
    		onReady()
    	}, listener)
    
    	return nil
    }
    
    func (s *grpcInstance) awaitReady(onReady OnReadyFunc, listener net.Listener) {
    	defer onReady()
    
    	err := retry.UntilSuccess(func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 25 17:30:37 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. pkg/test/echo/server/endpoint/http.go

    	}()
    
    	// Notify the WaitGroup once the port has transitioned to ready.
    	go s.awaitReady(onReady, listener.Addr().String())
    
    	return nil
    }
    
    func (s *httpInstance) isUDS() bool {
    	return s.UDSServer != ""
    }
    
    func (s *httpInstance) awaitReady(onReady OnReadyFunc, address string) {
    	defer onReady()
    
    	client := http.Client{}
    	var url string
    	if s.isUDS() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  5. istioctl/pkg/waypoint/waypoint.go

    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var (
    	revision      = ""
    	waitReady     bool
    	allNamespaces bool
    
    	deleteAll bool
    
    	trafficType       = ""
    	validTrafficTypes = sets.New(constants.ServiceTraffic, constants.WorkloadTraffic, constants.AllTraffic, constants.NoTraffic)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top