Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/iam-object-store.go

    	listedConfigItems, err := iamOS.listAllIAMConfigItems(ctx)
    	if err != nil {
    		return fmt.Errorf("unable to list IAM data: %w", err)
    	}
    
    	// Loads things in the same order as `LoadIAMCache()`
    
    	bootstrapTraceMsg("loading policy documents")
    
    	policiesList := listedConfigItems[policiesListKey]
    	for _, item := range policiesList {
    		policyName := path.Dir(item)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	if !ok {
    		// No purging is done for non-object storage.
    		return nil
    	}
    	return iamOS.PurgeExpiredSTS(ctx)
    }
    
    // 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 {
    	bootstrapTraceMsg := func(s string) {
    		if firstTime {
    			bootstrapTraceMsg(s)
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  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)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top