Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Network (0.28 sec)

  1. cmd/storage-rest-client.go

    	case strings.Contains(err.Error(), "server closed idle connection"):
    		return true
    	}
    
    	return false
    }
    
    // Converts network error to storageErr. This function is
    // written so that the storageAPI errors are consistent
    // across network disks.
    func toStorageErr(err error) error {
    	if err == nil {
    		return nil
    	}
    
    	if isNetworkError(err) {
    		return errDiskNotFound
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/api.go

    	TrustDomain       string            `json:"trustDomain,omitempty"`
    	Locality          Locality          `json:"locality,omitempty"`
    	Node              string            `json:"node"`
    	Network           string            `json:"network,omitempty"`
    	Status            string            `json:"status"`
    	ApplicationTunnel ApplicationTunnel `json:"applicationTunnel,omitempty"`
    }
    
    type ApplicationTunnel 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)
  3. cni/pkg/iptables/iptables.go

    			}
    		}
    	}
    	return errors.Join(delErrs...)
    }
    
    // Setup iptables rules for in-pod mode. Ideally this should be an idempotent function.
    // NOTE that this expects to be run from within the pod network namespace!
    func (cfg *IptablesConfigurator) CreateInpodRules(hostProbeSNAT *netip.Addr) error {
    	// Append our rules here
    	builder := cfg.appendInpodRules(hostProbeSNAT)
    
    	if err := cfg.addLoopbackRoute(); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. cmd/globals.go

    	globalDriveConfig drive.Config
    
    	// The global cache config
    	globalCacheConfig cache.Config
    
    	// Global server's network statistics
    	globalConnStats = newConnStats()
    
    	// Global HTTP request statistics
    	globalHTTPStats = newHTTPStats()
    
    	// Global bucket network and API statistics
    	globalBucketConnStats = newBucketConnStats()
    	globalBucketHTTPStats = newBucketHTTPStats()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. cmd/metrics-resource.go

    	readsAwait     MetricName = "reads_await"
    	writesAwait    MetricName = "writes_await"
    	percUtil       MetricName = "perc_util"
    	usedInodes     MetricName = "used_inodes"
    
    	// network stats
    	interfaceRxBytes  MetricName = "rx_bytes"
    	interfaceRxErrors MetricName = "rx_errors"
    	interfaceTxBytes  MetricName = "tx_bytes"
    	interfaceTxErrors MetricName = "tx_errors"
    
    	// cpu stats
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  6. internal/http/dial_others.go

    //
    //nolint:unused
    func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error {
    	return func(network, address string, c syscall.RawConn) error {
    		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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. internal/http/dial_linux.go

    package http
    
    import (
    	"context"
    	"net"
    	"syscall"
    	"time"
    
    	"golang.org/x/sys/unix"
    )
    
    func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error {
    	return func(network, address string, c syscall.RawConn) error {
    		c.Control(func(fdPtr uintptr) {
    			// got socket file descriptor to set parameters.
    			fd := int(fdPtr)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 4.3K bytes
    - Viewed (3)
  8. internal/rest/client.go

    // for ex. connection refused, connection reset, dns resolution failure etc.
    // All errors returned by storage-rest-server (ex errFileNotFound, errDiskNotFound) are not considered to be network errors.
    type NetworkError struct {
    	Err error
    }
    
    func (n *NetworkError) Error() string {
    	return n.Err.Error()
    }
    
    // Unwrap returns the error wrapped in NetworkError.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  9. cni/pkg/cmd/root.go

    		Title:   "Istio CNI Plugin Installer",
    		Section: "install-cni CLI",
    		Manual:  "Istio CNI Plugin Installer",
    	}))
    
    	registerStringParameter(constants.CNINetDir, "/etc/cni/net.d", "Directory on the host where CNI network plugins are installed")
    	registerStringParameter(constants.CNIConfName, "", "Name of the CNI configuration file")
    	registerBooleanParameter(constants.ChainedCNIPlugin, true, "Whether to install CNI plugin as a chained or standalone")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. cmd/storage-datatypes.go

    	RootDisk   bool
    	Healing    bool
    	Scanning   bool
    	Endpoint   string
    	MountPath  string
    	ID         string
    	Rotational bool
    	Metrics    DiskMetrics
    	Error      string // carries the error over the network
    }
    
    // DiskMetrics has the information about XL Storage APIs
    // the number of calls of each API and the moving average of
    // the duration of each API.
    type DiskMetrics struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top