Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for group2 (0.15 sec)

  1. internal/logger/targets.go

    	return tgts, errs
    }
    
    // Split targets into two groups:
    //
    //	group1 contains all targets of type t
    //	group2 contains the remaining targets
    func splitTargets(targets []Target, t types.TargetType) (group1 []Target, group2 []Target) {
    	for _, target := range targets {
    		if target.Type() == t {
    			group1 = append(group1, target)
    		} else {
    			group2 = append(group2, target)
    		}
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. cmd/sftp-server.go

    	logger.Info(msg)
    }
    
    const (
    	kexAlgoDH1SHA1                = "diffie-hellman-group1-sha1"
    	kexAlgoDH14SHA1               = "diffie-hellman-group14-sha1"
    	kexAlgoDH14SHA256             = "diffie-hellman-group14-sha256"
    	kexAlgoDH16SHA512             = "diffie-hellman-group16-sha512"
    	kexAlgoECDH256                = "ecdh-sha2-nistp256"
    	kexAlgoECDH384                = "ecdh-sha2-nistp384"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. cmd/iam-etcd-store.go

    	r, err := ies.client.Get(cctx, iamConfigGroupsPrefix, etcd.WithPrefix(), etcd.WithKeysOnly())
    	if err != nil {
    		return err
    	}
    
    	groups := etcdKvsToSet(iamConfigGroupsPrefix, r.Kvs)
    
    	// Reload config for all groups.
    	for _, group := range groups.ToSlice() {
    		if err = ies.loadGroup(ctx, group, m); err != nil && err != errNoSuchGroup {
    			return err
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    				return errSRIAMError(err)
    			}
    		}
    	}
    
    	// Next should be Groups for some of these users, LDAP might have some Group
    	// DNs here
    	{
    		groups := make(map[string]GroupInfo)
    		err := globalIAMSys.store.loadGroups(ctx, groups)
    		if err != nil {
    			return errSRBackendIssue(err)
    		}
    
    		for gname, group := range groups {
    			if err := c.IAMChangeHook(ctx, madmin.SRIAMItem{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  5. cmd/typed-errors.go

    // error returned in IAM subsystem when groups doesn't exist.
    var errNoSuchGroup = errors.New("Specified group does not exist")
    
    // error returned in IAM subsystem when a policy attach/detach request has no
    // net effect, i.e. it is already applied.
    var errNoPolicyToAttachOrDetach = errors.New("Specified policy update has no net effect")
    
    // error returned in IAM subsystem when a non-empty group needs to be
    // deleted.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns_test.go

    	}
    }
    
    // copied and modified from spire
    
    func TestGetContainerIDFromCGroups(t *testing.T) {
    	makeCGroups := func(groupPaths []string) []Cgroup {
    		var out []Cgroup
    		for _, groupPath := range groupPaths {
    			out = append(out, Cgroup{
    				GroupPath: groupPath,
    			})
    		}
    		return out
    	}
    
    	//nolint: lll
    	for _, tt := range []struct {
    		name              string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. cmd/admin-router.go

    		// Add/Remove members from group
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/update-group-members").HandlerFunc(adminMiddleware(adminAPI.UpdateGroupMembers))
    
    		// Get Group
    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/group").HandlerFunc(adminMiddleware(adminAPI.GetGroup)).Queries("group", "{group:.*}")
    
    		// List Groups
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  8. tests/group_by_test.go

    		t.Errorf("no error should happen, but got %v", err)
    	}
    
    	if name != "groupby" || total != 60 {
    		t.Errorf("name should be groupby, but got %v, total should be 60, but got %v", name, total)
    	}
    
    	if err := DB.Model(&User{}).Select("name, sum(age)").Where("name = ?", "groupby").Group("users.name").Row().Scan(&name, &total); err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  9. cmd/iam-etcd-store_test.go

    		path, prefix, suffix string
    		expected             string
    	}{
    		{"config/iam/groups/foo.json", "config/iam/groups/", ".json", "foo"},
    		{"config/iam/groups/./foo.json", "config/iam/groups/", ".json", "foo"},
    		{"config/iam/groups/foo/config.json", "config/iam/groups/", "/config.json", "foo"},
    		{"config/iam/groups/foo/config.json", "config/iam/groups/", "config.json", "foo"},
    	}
    	for i, test := range specs {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  10. cmd/bucket-policy.go

    				}
    			}
    			if len(grps) > 0 {
    				args["groups"] = grps
    			}
    		}
    	}
    
    	// if not claim groups are available use the one with auth.Credentials
    	if _, ok := args["groups"]; !ok {
    		if len(groups) > 0 {
    			args["groups"] = groups
    		}
    	}
    
    	return args
    }
    
    // PolicyToBucketAccessPolicy converts a MinIO policy into a minio-go policy data structure.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top