Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addPortIfMissing (0.21 sec)

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

    	if c.ReadinessTimeout == 0 {
    		c.ReadinessTimeout = DefaultReadinessTimeout()
    	}
    
    	return nil
    }
    
    // addPortIfMissing adds a port for the given protocol if none was found.
    func (c *Config) addPortIfMissing(protocol protocol.Instance) {
    	if _, found := c.Ports.ForProtocol(protocol); !found {
    		c.Ports = append([]Port{
    			{
    				Name:     strings.ToLower(string(protocol)),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top