Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of about 10,000 for Bind (0.47 sec)

  1. internal/http/check_port_test.go

    	port := l.Addr().(*net.TCPAddr).Port
    
    	testCases := []struct {
    		host        string
    		port        int
    		expectedErr error
    	}{
    		{"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)},
    		{"127.0.0.1", port, fmt.Errorf("listen tcp 127.0.0.1:%v: bind: address already in use", port)},
    	}
    
    	for _, testCase := range testCases {
    		err := CheckPortAvailability(testCase.host, strconv.Itoa(testCase.port), TCPOptions{})
    		switch {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. pkg/volume/iscsi/disk_manager.go

    	}
    	if !notMnt {
    		return nil
    	}
    
    	if err := os.MkdirAll(volPath, 0750); err != nil {
    		klog.Errorf("failed to mkdir:%s", volPath)
    		return err
    	}
    	// Perform a bind mount to the full path to allow duplicate mounts of the same disk.
    	options := []string{"bind"}
    	if b.readOnly {
    		options = append(options, "ro")
    	}
    	if b.iscsiDisk.InitiatorName != "" {
    		// new iface name is <target portal>:<volume name>
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. pkg/scheduler/apis/config/types.go

    	// PreBind is a list of plugins that should be invoked before a pod is bound.
    	PreBind PluginSet
    
    	// Bind is a list of plugins that should be invoked at "Bind" extension point of the scheduling framework.
    	// The scheduler call these plugins in order. Scheduler skips the rest of these plugins as soon as one returns success.
    	Bind PluginSet
    
    	// PostBind is a list of plugins that should be invoked after a pod is successfully bound.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 18:47:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/test/cmd/init_test.go

    	}{
    		{
    			name:     "fail on non-string port",
    			args:     "--apiserver-bind-port=foobar",
    			expected: false,
    		},
    		{
    			name:     "fail on too large port number",
    			args:     "--apiserver-bind-port=100000",
    			expected: false,
    		},
    		{
    			name:     "fail on negative port number",
    			args:     "--apiserver-bind-port=-6000",
    			expected: false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:03:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. releasenotes/notes/40268.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue:
      - https://github.com/istio/istio/issues/40268
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 08 19:15:19 UTC 2022
    - 272 bytes
    - Viewed (0)
  6. pkg/scheduler/framework/interface.go

    }
    
    // BindPlugin is an interface that must be implemented by "Bind" plugins. Bind
    // plugins are used to bind a pod to a Node.
    type BindPlugin interface {
    	Plugin
    	// Bind plugins will not be called until all pre-bind plugins have completed. Each
    	// bind plugin is called in the configured order. A bind plugin may choose whether
    	// or not to handle the given Pod. If a bind plugin chooses to handle a Pod, the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  7. pkg/volume/util/hostutil/hostutil_linux.go

    		klog.V(4).Infof("Directory %s is already on a shared mount", path)
    		return nil
    	}
    
    	klog.V(2).Infof("Bind-mounting %q with shared mount propagation", path)
    	// mount --bind /var/lib/kubelet /var/lib/kubelet
    	if err := syscall.Mount(path, path, "" /*fstype*/, syscall.MS_BIND, "" /*data*/); err != nil {
    		return fmt.Errorf("failed to bind-mount %s: %v", path, err)
    	}
    
    	// mount --make-rshared /var/lib/kubelet
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
  8. pilot/pkg/model/gateway_test.go

    			Servers: []*networking.Server{
    				{
    					Hosts: []string{host},
    					Port:  &networking.Port{Name: portName, Number: portNumber, Protocol: portProtocol},
    					Bind:  bind,
    					Tls:   &networking.ServerTLSSettings{Mode: mode},
    				},
    			},
    		},
    	}
    	return c
    }
    
    func BenchmarkParseGatewayRDSRouteName(b *testing.B) {
    	for range b.N {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/listener_address.go

    	}
    
    	return passthroughBindIPAddresses
    }
    
    // getSidecarInboundBindIPs returns the IP that the proxy can bind to along with the sidecar specified port.
    // It looks for an unicast address, if none found, then the default wildcard address is used.
    // This will make the inbound listener bind to instance_ip:port instead of 0.0.0.0:port where applicable.
    func getSidecarInboundBindIPs(node *model.Proxy) []string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/InetAddressFactoryTest.groovy

            factory.wildcardBindingAddress == new InetSocketAddress(0).address
        }
    
        def "loopback is used as bind address if available"() {
            when:
            defaultAddresses()
    
            then:
            factory.localBindingAddress == ip(127, 0, 0, 1)
        }
    
        def "wildcard address is used as bind address if no loopback available"() {
            when:
            loopbackAddresses([])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top