Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for CreateStringSet (0.1 sec)

  1. internal/config/config.go

    var NotifySubSystems = set.CreateStringSet(
    	NotifyKafkaSubSys,
    	NotifyMQTTSubSys,
    	NotifyMySQLSubSys,
    	NotifyNATSSubSys,
    	NotifyNSQSubSys,
    	NotifyESSubSys,
    	NotifyAMQPSubSys,
    	NotifyPostgresSubSys,
    	NotifyRedisSubSys,
    	NotifyWebhookSubSys,
    )
    
    // LambdaSubSystems - all lambda sub-systems
    var LambdaSubSystems = set.CreateStringSet(
    	LambdaWebhookSubSys,
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	gi, ok := cache.iamGroupsMap[group]
    	if !ok {
    		return updatedAt, errNoSuchGroup
    	}
    
    	s := set.CreateStringSet(gi.Members...)
    	d := set.CreateStringSet(members...)
    	gi.Members = s.Difference(d).ToSlice()
    
    	if !updateCacheOnly {
    		err := store.saveGroupInfo(ctx, group, gi)
    		if err != nil {
    			return updatedAt, err
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

    	}
    	groupInfo, err := s.adm.GetGroupDescription(ctx, group)
    	if err != nil {
    		c.Fatalf("group desc err: %v", err)
    	}
    	c.Assert(groupInfo.Name, group)
    	c.Assert(set.CreateStringSet(groupInfo.Members...), set.CreateStringSet(accessKey))
    	c.Assert(groupInfo.Policy, policy)
    	c.Assert(groupInfo.Status, string(madmin.GroupEnabled))
    
    	// 5. Disable/enable the group and verify that user access is revoked/restored.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  4. cmd/iam.go

    func (sys *IAMSys) createCleanEntitiesQuery(q madmin.PolicyEntitiesQuery, ldap bool) cleanEntitiesQuery {
    	cleanQ := cleanEntitiesQuery{
    		Users:    make(map[string]set.StringSet),
    		Groups:   set.CreateStringSet(q.Groups...),
    		Policies: set.CreateStringSet(q.Policy...),
    	}
    
    	if ldap {
    		// Validate and normalize users, then fetch and normalize their groups
    		// Also include unvalidated users for backward compatibility.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  5. cmd/bucket-metadata-sys.go

    				break
    			}
    
    			// Handle if we have some buckets in-memory those are stale.
    			// first delete them and then replace the newer state()
    			// from disk.
    			diskBuckets := set.CreateStringSet()
    			for _, bucket := range buckets {
    				diskBuckets.Add(bucket.Name)
    			}
    			sys.RemoveStaleBuckets(diskBuckets)
    
    			for i := range buckets {
    				wait := sleeper.Timer(ctx)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    			bucketsSet.Add(bucket)
    			r, ok := dnsBuckets[bucket]
    			if !ok {
    				bucketsToBeUpdated.Add(bucket)
    				continue
    			}
    			if !globalDomainIPs.Intersection(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() {
    				if globalDomainIPs.Difference(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() && !domainMissing {
    					// No difference in terms of domainIPs and nothing
    					// has changed so we don't change anything on the etcd.
    					//
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  7. cmd/background-newdisks-heal-ops.go

    // Order is preserved.
    func (h *healingTracker) setQueuedBuckets(buckets []BucketInfo) {
    	h.mu.Lock()
    	defer h.mu.Unlock()
    
    	s := set.CreateStringSet(h.HealedBuckets...)
    	h.QueuedBuckets = make([]string, 0, len(buckets))
    	for _, b := range buckets {
    		if !s.Contains(b.Name) {
    			h.QueuedBuckets = append(h.QueuedBuckets, b.Name)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    		gotBuckets.Add(b.Name)
    		if !(b.Access.Read && b.Access.Write) {
    			c.Fatalf("root user should have read and write access to bucket: %v", b.Name)
    		}
    	}
    	shouldHaveBuckets := set.CreateStringSet(bucket2, bucket)
    	if !gotBuckets.Equals(shouldHaveBuckets) {
    		c.Fatalf("root user should have access to all buckets")
    	}
    
    	// This must fail.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top