Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for bindTo (0.18 sec)

  1. pkg/scheduler/schedule_one_test.go

    ) (hostPriorities *extenderv1.HostPriorityList, weight int64, err error) {
    	return nil, 0, nil
    }
    
    func (f *fakeExtender) Bind(binding *v1.Binding) error {
    	if f.isBinder {
    		if f.errBind {
    			return errors.New("bind error")
    		}
    		f.gotBind = true
    		return nil
    	}
    	return errors.New("not a binder")
    }
    
    func (f *fakeExtender) IsBinder() bool {
    	return f.isBinder
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework_test.go

    		profile.Plugins.QueueSort.Enabled = append(profile.Plugins.QueueSort.Enabled, config.Plugin{Name: queueSortPlugin})
    	}
    	if len(profile.Plugins.Bind.Enabled) == 0 {
    		profile.Plugins.Bind.Enabled = append(profile.Plugins.Bind.Enabled, config.Plugin{Name: bindPlugin})
    	}
    	return NewFramework(ctx, r, &profile, opts...)
    }
    
    func TestInitFrameworkWithScorePlugins(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  3. pkg/config/validation/validation.go

    }
    
    func validateServerBind(port *networking.Port, bind string) (errs error) {
    	if strings.HasPrefix(bind, UnixAddressPrefix) {
    		errs = appendErrors(errs, ValidateUnixAddress(strings.TrimPrefix(bind, UnixAddressPrefix)))
    		if port != nil && port.Number != 0 {
    			errs = appendErrors(errs, fmt.Errorf("port number must be 0 for unix domain socket: %v", port))
    		}
    	} else if len(bind) != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. pkg/config/validation/validation_test.go

    				Bind:  "unix://@foobar",
    			},
    			"port number must be 0 for unix domain socket",
    		},
    		{
    			"bind unix path",
    			&networking.Server{
    				Hosts: []string{"foo.bar.com"},
    				Port:  &networking.Port{Number: 0, Name: "http", Protocol: "http"},
    				Bind:  "unix://@foobar",
    			},
    			"",
    		},
    		{
    			"bind bad ip",
    			&networking.Server{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  5. src/cmd/go/internal/load/pkg.go

    			// Install cross-compiled binaries to subdirectories of bin.
    			elem = full
    		}
    		if p.Internal.Build.BinDir == "" && cfg.ModulesEnabled {
    			p.Internal.Build.BinDir = modload.BinDir()
    		}
    		if p.Internal.Build.BinDir != "" {
    			// Install to GOBIN or bin of GOPATH entry.
    			p.Target = filepath.Join(p.Internal.Build.BinDir, elem)
    			if !p.Goroot && strings.Contains(elem, string(filepath.Separator)) && cfg.GOBIN != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure-helper.sh

      safe-bind-mount "${mountpoint}" "${bindpoint}"
    }
    
    # Bind mounts device at mountpoint to bindpoint
    function safe-bind-mount(){
      local mountpoint="${1}"
      local bindpoint="${2}"
    
      # Mount device to the mountpoint
      mkdir -p "${bindpoint}"
      echo "Binding '${mountpoint}' at '${bindpoint}'"
      mount --bind "${mountpoint}" "${bindpoint}"
      chmod a+w "${bindpoint}"
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers.go

    		{Name: "Name", Type: "string", Format: "name", Description: metav1.ObjectMeta{}.SwaggerDoc()["name"]},
    		{Name: "PolicyName", Type: "string", Description: "PolicyName indicates the policy definition which the policy binding binded to"},
    		{Name: "ParamRef", Type: "string", Description: "ParamRef indicates the param resource which sets the configration param"},
    		{Name: "Age", Type: "string", Description: metav1.ObjectMeta{}.SwaggerDoc()["creationTimestamp"]},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  8. src/runtime/proc.go

    // since we need to restore g0 in runtime.cgocallback.
    //
    // On systems without pthreads, like Windows, bindm shouldn't be used.
    //
    // NOTE: this always runs without a P, so, nowritebarrierrec required.
    //
    //go:nosplit
    //go:nowritebarrierrec
    func cgoBindM() {
    	if GOOS == "windows" || GOOS == "plan9" {
    		fatal("bindm in unexpected GOOS")
    	}
    	g := getg()
    	if g.m.g0 != g {
    		fatal("the current g is not g0")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	procWSAStartup                                           = modws2_32.NewProc("WSAStartup")
    	procbind                                                 = modws2_32.NewProc("bind")
    	procclosesocket                                          = modws2_32.NewProc("closesocket")
    	procconnect                                              = modws2_32.NewProc("connect")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

            </field>
            <field>
              <name>phase</name>
              <version>4.0.0+</version>
              <type>String</type>
              <description>The build lifecycle phase to bind the goals in this execution to. If omitted,
                the goals will be bound to the default phase specified by the plugin. </description>
            </field>
            <field xml.transient="true">
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 13:29:46 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top