Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LoadPolicy (0.07 sec)

  1. cmd/iam-object-store.go

    			// that as create and update date.
    			p.CreateDate = objInfo.ModTime
    			p.UpdateDate = objInfo.ModTime
    		}
    
    		m[policy] = p
    		return nil
    	}
    }
    
    func (iamOS *IAMObjectStore) loadPolicy(ctx context.Context, policy string) (PolicyDoc, error) {
    	var p PolicyDoc
    
    	data, objInfo, err := iamOS.loadIAMConfigBytesWithMetadata(ctx, getPolicyDocPath(policy))
    	if err != nil {
    		if err == errConfigNotFound {
    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.go

    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	return sys.store.GroupNotificationHandler(ctx, group)
    }
    
    // LoadPolicy - reloads a specific canned policy from backend disks or etcd.
    func (sys *IAMSys) LoadPolicy(ctx context.Context, objAPI ObjectLayer, policyName string) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    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