Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 147 for IPV4 (0.05 sec)

  1. common/scripts/kind_provisioner.sh

    # 1. IMAGE = docker image used as node by KinD
    # 2. IP_FAMILY = either ipv4 or ipv6
    #
    # NOTE: Please call load_cluster_topology before calling this method as it expects
    # cluster topology information to be loaded in advance
    function setup_kind_clusters() {
      IMAGE="${1:-"${DEFAULT_KIND_IMAGE}"}"
      KUBECONFIG_DIR="${ARTIFACTS:-$(mktemp -d)}/kubeconfig"
      IP_FAMILY="${2:-ipv4}"
    
      check_default_cluster_yaml
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 19:12:55 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. src/net/tcpsock_test.go

    	litAddrOrName string
    	addr          *TCPAddr
    	err           error
    }
    
    var resolveTCPAddrTests = []resolveTCPAddrTest{
    	{"tcp", "127.0.0.1:0", &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 0}, nil},
    	{"tcp4", "127.0.0.1:65535", &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 65535}, nil},
    
    	{"tcp", "[::1]:0", &TCPAddr{IP: ParseIP("::1"), Port: 0}, nil},
    	{"tcp6", "[::1]:65535", &TCPAddr{IP: ParseIP("::1"), Port: 65535}, nil},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    }
    
    // getClusterNodeMask returns the corresponding node-cidr-mask
    // based on the Cluster configuration and the IP family
    // Default is 24 for IPv4 and 64 for IPv6
    func getClusterNodeMask(c *kubeadm.ClusterConfiguration, isIPv6 bool) (int, error) {
    	// defaultNodeMaskCIDRIPv4 is default mask size for IPv4 node cidr for use by the controller manager
    	const defaultNodeMaskCIDRIPv4 = 24
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. pkg/bootstrap/config.go

    	// Support passing extra info from node environment as metadata
    	opts = append(opts, getNodeMetadataOptions(cfg.Node, cfg.CompliancePolicy)...)
    
    	// Check if nodeIP carries IPv4 or IPv6 and set up proxy accordingly
    	if network.AllIPv4(cfg.Metadata.InstanceIPs) {
    		// IPv4 only
    		opts = append(opts,
    			option.Localhost(option.LocalhostIPv4),
    			option.Wildcard(option.WildcardIPv4),
    			option.DNSLookupFamily(option.DNSLookupFamilyIPv4))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    			},
    			expectRuntimeCost: func(c uint64) uint64 { return c + 1 },
    		},
    	}
    
    	for _, tc := range testCases {
    		for _, op := range tc.ops {
    			t.Run(ipv4+op, func(t *testing.T) {
    				testCost(t, ipv4+op, tc.expectEsimatedCost(ipv4BaseEstimatedCost), tc.expectRuntimeCost(ipv4BaseRuntimeCost))
    			})
    
    			t.Run(ipv6+op, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-agent/app/cmd.go

    	proxyAddrs := make([]string, 0)
    	if ipAddrs, ok := network.GetPrivateIPs(context.Background()); ok {
    		proxyAddrs = append(proxyAddrs, ipAddrs...)
    	}
    
    	// No IP addresses provided, append 127.0.0.1 for ipv4 and ::1 for ipv6
    	if len(proxyAddrs) == 0 {
    		proxyAddrs = append(proxyAddrs, localHostIPv4, localHostIPv6)
    	}
    
    	// Get exclusions from traffic.sidecar.istio.io/excludeInterfaces
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. pkg/util/iptree/iptree.go

    	n.val = child.val
    	n.child = child.child
    	// remove any references from the deleted node
    	// to avoid memory leak
    	child.child[0] = nil
    	child.child[1] = nil
    }
    
    // Tree is a radix tree for IPv4 and IPv6 networks.
    type Tree[T any] struct {
    	rootV4 *node[T]
    	rootV6 *node[T]
    }
    
    // New creates a new Radix Tree for IP addresses.
    func New[T any]() *Tree[T] {
    	return &Tree[T]{
    		rootV4: &node[T]{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  8. pkg/controlplane/reconcilers/endpointsadapter_test.go

    	endpoints3, _ := generateEndpointsAndSlice("bar", "testing", []int{80, 443}, []string{"10.1.2.3", "10.1.2.4", "10.1.2.5"})
    
    	// ensure that EndpointSlice with deprecated IP address type is replaced
    	// with one that has an IPv4 address type.
    	endpoints4, _ := generateEndpointsAndSlice("foo", "testing", []int{80}, []string{"10.1.2.7", "10.1.2.8"})
    	_, epSlice4IP := generateEndpointsAndSlice("foo", "testing", []int{80}, []string{"10.1.2.7", "10.1.2.8"})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/HostAndPort.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class HostAndPort implements Serializable {
      /** Magic value indicating the absence of a port number. */
      private static final int NO_PORT = -1;
    
      /** Hostname, IPv4/IPv6 literal, or unvalidated nonsense. */
      private final String host;
    
      /** Validated port number in the range [0..65535], or NO_PORT */
      private final int port;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 22 20:55:57 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. cmd/kube-proxy/app/server_linux.go

    }
    
    // getIPTables returns an array of [IPv4, IPv6] utiliptables.Interfaces. If primaryFamily
    // is not v1.IPFamilyUnknown then it will also separately return the interface for just
    // that family.
    func getIPTables(primaryFamily v1.IPFamily) ([2]utiliptables.Interface, utiliptables.Interface) {
    	execer := exec.New()
    
    	// Create iptables handlers for both families. Always ordered as IPv4, IPv6
    	ipt := [2]utiliptables.Interface{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top