Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PolicyNotificationHandler (0.11 sec)

  1. cmd/iam.go

    func (sys *IAMSys) LoadPolicy(ctx context.Context, objAPI ObjectLayer, policyName string) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	return sys.store.PolicyNotificationHandler(ctx, policyName)
    }
    
    // LoadPolicyMapping - loads the mapped policy for a user or group
    // from storage into server memory.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	return mp.UpdatedAt, nil
    }
    
    // PolicyNotificationHandler - loads given policy from storage. If not present,
    // deletes from cache. This notification only reads from storage, and updates
    // cache. When the notification is for a policy deletion, it updates the
    // user-policy and group-policy maps as well.
    func (store *IAMStoreSys) PolicyNotificationHandler(ctx context.Context, policy string) error {
    	if policy == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top