Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LoadPolicy (0.05 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  2. cmd/notification.go

    				return errPeerNotReachable
    			}
    			return client.DeletePolicy(ctx, policyName)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // LoadPolicy - reloads a specific modified policy across all peers
    func (sys *NotificationSys) LoadPolicy(ctx context.Context, policyName string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
Back to top