Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of about 10,000 for Bind (0.12 sec)

  1. pkg/scheduler/framework/extender.go

    	Prioritize(pod *v1.Pod, nodes []*NodeInfo) (hostPriorities *extenderv1.HostPriorityList, weight int64, err error)
    
    	// Bind delegates the action of binding a pod to a node to the extender.
    	Bind(binding *v1.Binding) error
    
    	// IsBinder returns whether this extender is configured for the Bind method.
    	IsBinder() bool
    
    	// IsInterested returns true if at least one extended resource requested by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/defaultbinder/default_binder.go

    // Name returns the name of the plugin.
    func (b DefaultBinder) Name() string {
    	return Name
    }
    
    // Bind binds pods to nodes using the k8s client.
    func (b DefaultBinder) Bind(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) *framework.Status {
    	logger := klog.FromContext(ctx)
    	logger.V(3).Info("Attempting to bind pod to node", "pod", klog.KObj(p), "node", klog.KRef("", nodeName))
    	binding := &v1.Binding{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/net/sock_posix.go

    	var lsa syscall.Sockaddr
    	var err error
    	if laddr != nil {
    		if lsa, err = laddr.sockaddr(fd.family); err != nil {
    			return err
    		} else if lsa != nil {
    			if err = syscall.Bind(fd.pfd.Sysfd, lsa); err != nil {
    				return os.NewSyscallError("bind", err)
    			}
    		}
    	}
    	var rsa syscall.Sockaddr  // remote address from the user
    	var crsa syscall.Sockaddr // remote address we actually connected to
    	if raddr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. docs_src/sql_databases/sql_app_py310/tests/test_sql_app.py

    SQLALCHEMY_DATABASE_URL = "sqlite:///./test.db"
    
    engine = create_engine(
        SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False}
    )
    TestingSessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
    
    
    Base.metadata.create_all(bind=engine)
    
    
    def override_get_db():
        try:
            db = TestingSessionLocal()
            yield db
        finally:
            db.close()
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelRegistry.java

         * @param <T> the type to project the node as
         * @return the node as the given type or null if no such element.
         */
        @Nullable
        <T> T find(ModelPath path, ModelType<T> type);
        @Nullable
        <T> T find(String path, ModelType<T> type);
        @Nullable
        <T> T find(String path, Class<T> type);
    
        /**
         * Returns the node at the given path at the desired state or later, if it exists.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. pkg/registry/rbac/escalation_check.go

    func BindingAuthorized(ctx context.Context, roleRef rbac.RoleRef, bindingNamespace string, a authorizer.Authorizer) bool {
    	if a == nil {
    		return false
    	}
    
    	user, ok := genericapirequest.UserFrom(ctx)
    	if !ok {
    		return false
    	}
    
    	attrs := authorizer.AttributesRecord{
    		User: user,
    		Verb: "bind",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectCollectionSpec.groovy

     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/templates/structuring-software-projects/server-application/app/src/main/java/com/example/myproduct/server/MyProductJsonController.java

    package com.example.myproduct.server;
    
    import com.example.myproduct.user.table.TableBuilder;
    
    import org.springframework.http.MediaType;
    import org.springframework.web.bind.annotation.RequestMapping;
    import org.springframework.web.bind.annotation.RestController;
    
    import java.util.List;
    
    @RestController
    public class MyProductJsonController {
    
        @RequestMapping(value = "/json", produces = MediaType.APPLICATION_JSON_VALUE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 511 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/templates/structuring-software-projects/server-application/app/src/main/java/com/example/myproduct/server/MyProductController.java

    import com.example.myproduct.user.table.TableBuilder;
    import org.apache.juneau.html.HtmlSerializer;
    import org.apache.juneau.serializer.SerializeException;
    import org.springframework.web.bind.annotation.RequestMapping;
    import org.springframework.web.bind.annotation.RestController;
    
    @RestController
    public class MyProductController {
    
        @RequestMapping("/")
        public String index() throws SerializeException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 533 bytes
    - Viewed (0)
  10. internal/config/identity/ldap/ldap.go

    	return searchRes, false, nil
    }
    
    // Bind - binds to ldap, searches LDAP and returns the distinguished name of the
    // user and the list of groups.
    func (l *Config) Bind(username, password string) (*xldap.DNSearchResult, []string, error) {
    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return nil, nil, err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 25 13:43:06 UTC 2024
    - 10.3K bytes
    - Viewed (1)
Back to top