Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for host2 (1.08 sec)

  1. cmd/net.go

    func isHostIP(ipAddress string) bool {
    	host, _, err := net.SplitHostPort(ipAddress)
    	if err != nil {
    		host = ipAddress
    	}
    	// Strip off IPv6 zone information.
    	if i := strings.Index(host, "%"); i > -1 {
    		host = host[:i]
    	}
    	return net.ParseIP(host) != nil
    }
    
    // extractHostPort - extracts host/port from many address formats
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. internal/grid/debug.go

    		Timeout: 5 * time.Second,
    	}
    	var res TestGrid
    	res.Hosts = hosts
    	ready := make(chan struct{})
    	ctx, cancel := context.WithCancel(context.Background())
    	res.cancel = cancel
    	for i, host := range hosts {
    		manager, err := NewManager(ctx, ManagerOptions{
    			Dialer: dialer.DialContext,
    			Local:  host,
    			Hosts:  hosts,
    			AuthRequest: func(r *http.Request) error {
    				return nil
    			},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. pilot/pkg/model/gateway_test.go

    	mgw := MergeGateways(instances, &Proxy{}, nil)
    	hosts := mgw.GetAutoPassthrughGatewaySNIHosts()
    	expectedHosts := sets.Set[string]{}
    	expectedHosts.InsertAll("a.apps.svc.cluster.local", "b.apps.svc.cluster.local")
    	if !hosts.Equals(expectedHosts) {
    		t.Errorf("expected to get: [a.apps.svc.cluster.local,b.apps.svc.cluster.local], got: %s", hosts.String())
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/route/retry/retry.go

    		HostSelectionRetryMaxAttempts: 5,
    	}
    	return &policy
    }
    
    // DefaultConsistentHashPolicy gets a copy of the default retry policy without previous host predicate.
    // When Consistent Hashing is enabled, we don't want to use other hosts during retries.
    func DefaultConsistentHashPolicy() *route.RetryPolicy {
    	return defaultPolicy()
    }
    
    // ConvertPolicy converts the given Istio retry policy to an Envoy policy.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. cmd/metrics-realtime.go

    )
    
    type collectMetricsOpts struct {
    	hosts map[string]struct{}
    	disks map[string]struct{}
    	jobID string
    	depID string
    }
    
    func collectLocalMetrics(types madmin.MetricType, opts collectMetricsOpts) (m madmin.RealtimeMetrics) {
    	if types == madmin.MetricsNone {
    		return
    	}
    
    	byHostName := globalMinioAddr
    	if len(opts.hosts) > 0 {
    		server := getLocalServerProperty(globalEndpoints, &http.Request{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. src/internal/syscall/unix/siginfo_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package unix
    
    import (
    	"syscall"
    )
    
    const is64bit = ^uint(0) >> 63 // 0 for 32-bit hosts, 1 for 64-bit ones.
    
    // SiginfoChild is a struct filled in by Linux waitid syscall.
    // In C, siginfo_t contains a union with multiple members;
    // this struct corresponds to one used when Signo is SIGCHLD.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/net/dnsclient.go

    // trailing dot to match pure Go reverse resolver and all other lookup
    // routines.
    // See golang.org/issue/12189.
    // But we don't want to add dots for local names from /etc/hosts.
    // It's hard to tell so we settle on the heuristic that names without dots
    // (like "localhost" or "myhost") do not get trailing dots, but any other
    // names do.
    func absDomainName(s string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/net/ipsock.go

    // IPv6 addresses, then JoinHostPort returns "[host]:port".
    //
    // See func Dial for a description of the host and port parameters.
    func JoinHostPort(host, port string) string {
    	// We assume that host is a literal IPv6 address if host has
    	// colons.
    	if bytealg.IndexByteString(host, ':') >= 0 {
    		return "[" + host + "]:" + port
    	}
    	return host + ":" + port
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. buildscripts/minio-upgrade.sh

    		up -d --build
    
    	add_alias
    
    	mc mb minio/minio-test/
    	mc cp ./minio minio/minio-test/to-read/
    	mc cp /etc/hosts minio/minio-test/to-read/hosts
    	mc anonymous set download minio/minio-test
    
    	verify_checksum_mc ./minio minio/minio-test/to-read/minio
    
    	curl -s http://127.0.0.1:9000/minio-test/to-read/hosts | sha256sum
    
    	MINIO_VERSION=dev /tmp/gopath/bin/docker-compose -f "buildscripts/upgrade-tests/compose.yml" stop
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. pkg/kube/apimirror/probe.go

    	// Name must be an IANA_SVC_NAME.
    	Port IntOrString `json:"port" protobuf:"bytes,2,opt,name=port"`
    	// Host name to connect to, defaults to the pod IP. You probably want to set
    	// "Host" in httpHeaders instead.
    	// +optional
    	Host string `json:"host,omitempty" protobuf:"bytes,3,opt,name=host"`
    	// Scheme to use for connecting to the host.
    	// Defaults to HTTP.
    	// +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top