Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for addresses (0.15 sec)

  1. istioctl/pkg/writer/envoy/configdump/listener.go

    		found := false
    		for _, address := range addresses {
    			if strings.EqualFold(address, l.Address) {
    				found = true
    			}
    		}
    		if !found {
    			return false
    		}
    	}
    	if l.Port != 0 && retrieveListenerPort(listener) != l.Port {
    		return false
    	}
    	if l.Type != "" && !strings.EqualFold(retrieveListenerType(listener), l.Type) {
    		return false
    	}
    	return true
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  2. cmd/net.go

    		}
    	}
    
    	return ipList
    }
    
    // mustGetLocalIP4 returns IPv4 addresses of localhost.  It panics on error.
    func mustGetLocalIP4() (ipList set.StringSet) {
    	ipList = set.NewStringSet()
    	for _, ip := range mustGetLocalIPs() {
    		if ip.To4() != nil {
    			ipList.Add(ip.String())
    		}
    	}
    	return
    }
    
    // mustGetLocalIP6 returns IPv6 addresses of localhost.  It panics on error.
    func mustGetLocalIP6() (ipList set.StringSet) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. internal/http/listener.go

    func (listener *httpListener) Addr() (addr net.Addr) {
    	addr = listener.listeners[0].Addr()
    	if len(listener.listeners) == 1 {
    		return addr
    	}
    
    	tcpAddr := addr.(*net.TCPAddr)
    	if ip := net.ParseIP("0.0.0.0"); ip != nil {
    		tcpAddr.IP = ip
    	}
    
    	addr = tcpAddr
    	return addr
    }
    
    // Addrs - returns all address information of TCP listeners.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. internal/handlers/proxy.go

    		// Only grab the first (client) address. Note that '192.168.0.1,
    		// 10.1.1.1' is a valid key for X-Forwarded-For where addresses after
    		// the first may represent forwarding proxies earlier in the chain.
    		s := strings.Index(fwd, ", ")
    		if s == -1 {
    			s = len(fwd)
    		}
    		addr = fwd[:s]
    	} else if fwd := r.Header.Get(xRealIP); fwd != "" {
    		// X-Real-IP should only contain one IP address (the client making the
    		// request).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  5. tests/scan_test.go

    	DB.Save(&person1).Save(&person2)
    
    	address1 := Address{Name: "address 1"}
    	address2 := Address{Name: "address 2"}
    	DB.Save(&address1).Save(&address2)
    
    	DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address1.ID)})
    	DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address2.ID)})
    	DB.Create(&PersonAddress{PersonID: person2.ID, AddressID: int(address1.ID)})
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat May 28 14:18:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  6. internal/http/server.go

    	DefaultMaxHeaderBytes = 1 * humanize.MiByte
    )
    
    // Server - extended http.Server supports multiple addresses to serve and enhanced connection handling.
    type Server struct {
    	http.Server
    	Addrs           []string      // addresses on which the server listens for new connection.
    	TCPOptions      TCPOptions    // all the configurable TCP conn specific configurable options.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. internal/logger/help.go

    			Optional:    true,
    			Type:        "sentence",
    		},
    	}
    
    	HelpKafka = config.HelpKVS{
    		config.HelpKV{
    			Key:         KafkaBrokers,
    			Description: "comma separated list of Kafka broker addresses",
    			Type:        "csv",
    		},
    		config.HelpKV{
    			Key:         KafkaTopic,
    			Description: "Kafka topic used for bucket notifications",
    			Optional:    true,
    			Type:        "string",
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 20:17:46 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/cni-watcher.go

    	for _, configuredPodIPs := range addCmd.IPs {
    		// net.ip is implicitly convertible to netip as slice
    		ip, _ := netip.AddrFromSlice(configuredPodIPs.Address.IP)
    		// We ignore the mask of the IPNet - it's fine if the IPNet defines
    		// a block grant of addresses, we just need one for checking routes.
    		podIps = append(podIps, ip)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/api.go

    }
    
    type ZtunnelService struct {
    	Name         string         `json:"name"`
    	Namespace    string         `json:"namespace"`
    	Hostname     string         `json:"hostname"`
    	Addresses    []string       `json:"vips"`
    	Ports        map[string]int `json:"ports"`
    	LoadBalancer *LoadBalancer  `json:"loadBalancer"`
    	Waypoint     *Waypoint      `json:"waypoint"`
    }
    
    type PolicyMatch struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/cmd/addr2line/main.go

    //
    // Usage:
    //
    //	go tool addr2line binary
    //
    // Addr2line reads hexadecimal addresses, one per line and with optional 0x prefix,
    // from standard input. For each input address, addr2line prints two output lines,
    // first the name of the function containing the address and second the file:line
    // of the source code corresponding to that address.
    //
    // This tool is intended for use only by pprof; its interface may change or
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 2.3K bytes
    - Viewed (0)
Back to top