Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LoadIAMCache (0.14 sec)

  1. cmd/iam-object-store.go

    			s.WriteString(fmt.Sprintf("    %s: %d items\n", k, len(v)))
    		}
    		logger.Info("listAllIAMConfigItems took %.2fs with contents:\n%s", took.Seconds(), s.String())
    	}
    
    	// Loads things in the same order as `LoadIAMCache()`
    
    	bootstrapTraceMsgFirstTime("loading policy documents")
    
    	policyLoadStartTime := UTCNow()
    	policiesList := listedConfigItems[policiesListKey]
    	count := 32 // number of parallel IAM loaders
    	for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    		if _, ok := policies[v.Name]; !ok {
    			policies[v.Name] = defaultPolicyDoc(v.Definition)
    		}
    	}
    }
    
    // LoadIAMCache reads all IAM items and populates a new iamCache object and
    // replaces the in-memory cache object.
    func (store *IAMStoreSys) LoadIAMCache(ctx context.Context, firstTime bool) error {
    	bootstrapTraceMsgFirstTime := func(s string) {
    		if firstTime {
    			bootstrapTraceMsg(s)
    		}
    	}
    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/iam.go

    	return sys.store != nil
    }
    
    // Load - loads all credentials, policies and policy mappings.
    func (sys *IAMSys) Load(ctx context.Context, firstTime bool) error {
    	loadStartTime := time.Now()
    	err := sys.store.LoadIAMCache(ctx, firstTime)
    	if err != nil {
    		atomic.AddUint64(&sys.TotalRefreshFailures, 1)
    		return err
    	}
    	loadDuration := time.Since(loadStartTime)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top