Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for Networks (0.4 sec)

  1. internal/http/dial_linux.go

    				if ip := net.ParseIP(address); ip != nil && !ip.IsLoopback() {
    					_ = syscall.SetsockoptString(fd, syscall.SOL_SOCKET, syscall.SO_BINDTODEVICE, opts.Interface)
    				}
    			}
    		})
    		return nil
    	}
    }
    
    // DialContext is a function to make custom Dial for internode communications
    type DialContext func(ctx context.Context, network, address string) (net.Conn, error)
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jun 07 16:53:05 GMT 2023
    - 4.4K bytes
    - Viewed (3)
  2. internal/http/check_port_others.go

    	defer cancel()
    
    	l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port))
    	if err != nil {
    		return err
    	}
    
    	// As we are able to listen on this network, the port is not in use.
    	// Close the listener and continue check other networks.
    	return l.Close()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  3. internal/http/check_port_linux.go

    	defer cancel()
    
    	l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port))
    	if err != nil {
    		return err
    	}
    
    	// As we are able to listen on this network, the port is not in use.
    	// Close the listener and continue check other networks.
    	return l.Close()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  4. cni/pkg/install/cniconfig.go

    		return cniConfig, nil
    	}
    
    	if len(template.cniNetworkConfig) > 0 {
    		installLog.Infof("Using CNI config template from CNI_NETWORK_CONFIG environment variable.")
    		return []byte(template.cniNetworkConfig), nil
    	}
    
    	return nil, fmt.Errorf("need CNI_NETWORK_CONFIG or CNI_NETWORK_CONFIG_FILE to be set")
    }
    
    func replaceCNIConfigVars(cniConfig []byte, vars cniConfigVars) []byte {
    	cniConfigStr := string(cniConfig)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. cmd/mrf.go

    					continue
    				}
    				if wildcard.Match("tmp-old/*", u.object) {
    					continue
    				}
    			}
    
    			now := time.Now()
    			if now.Sub(u.queued) < time.Second {
    				// let recently failed networks to reconnect
    				// making MRF wait for 1s before retrying,
    				// i.e 4 reconnect attempts.
    				time.Sleep(time.Second)
    			}
    
    			// wait on timer per heal
    			wait := healSleeper.Timer(context.Background())
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  6. cni/pkg/cmd/root.go

    	// Not configurable in CNI helm charts
    	registerStringParameter(constants.MountedCNINetDir, "/host/etc/cni/net.d", "Directory on the container where CNI networks are installed")
    	registerStringParameter(constants.CNINetworkConfigFile, "", "CNI config template as a file")
    	registerStringParameter(constants.KubeconfigFilename, "ZZZ-istio-cni-kubeconfig",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  7. cmd/perf-tests.go

    	delta := globalSiteNetPerfRX.firstToDisconnect.Sub(globalSiteNetPerfRX.lastToConnect)
    	// If the first disconnected before the last connected, we likely had a network issue.
    	if delta <= 0 {
    		rx = 0
    		errStr = "detected network disconnections, possibly an unstable network"
    	}
    
    	globalSiteNetPerfRX.Reset()
    	return madmin.SiteNetPerfNodeResult{
    		Endpoint:        "",
    		TX:              r.n,
    		TXTotalDuration: duration,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. istioctl/pkg/authz/listener.go

    	rbachttp "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/rbac/v3"
    	hcm "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/http_connection_manager/v3"
    	rbactcp "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/rbac/v3"
    	"google.golang.org/protobuf/proto"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/wellknown"
    )
    
    const (
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. cmd/metrics-v3-system-network.go

    	internodeRecvBytesTotalMD = NewCounterMD(internodeRecvBytesTotal,
    		"Total number of bytes received from other peer nodes")
    )
    
    // loadNetworkInternodeMetrics - reads internode network metrics.
    //
    // This is a `MetricsLoaderFn`.
    func loadNetworkInternodeMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	connStats := globalConnStats.toServerConnStats()
    	rpcStats := rest.GetRPCStats()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. cmd/notification.go

    }
    
    // VerifyBinary - asks remote peers to verify the checksum
    func (sys *NotificationSys) VerifyBinary(ctx context.Context, u *url.URL, sha256Sum []byte, releaseInfo string, bin []byte) []NotificationPeerErr {
    	// FIXME: network calls made in this manner such as one goroutine per node,
    	// can easily eat into the internode bandwidth. This function would be mostly
    	// TX saturating, however there are situations where a RX might also saturate.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
Back to top