Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for AddRulesMap (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/event-notification.go

    		return err
    	}
    	evnot.targetList = evnot.targetList.Init(runtime.GOMAXPROCS(0)) // TODO: make this configurable (y4m4)
    	return nil
    }
    
    // AddRulesMap - adds rules map for bucket name.
    func (evnot *EventNotifier) AddRulesMap(bucketName string, rulesMap event.RulesMap) {
    	evnot.Lock()
    	defer evnot.Unlock()
    
    	rulesMap = rulesMap.Clone()
    
    	// Do not add for an empty rulesMap.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 21 22:22:24 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  2. cmd/peer-rest-server.go

    	if err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	globalBucketMetadataSys.Set(bucketName, meta)
    
    	if meta.notificationConfig != nil {
    		globalEventNotifier.AddRulesMap(bucketName, meta.notificationConfig.ToRulesMap())
    	}
    
    	if meta.bucketTargetConfig != nil {
    		globalBucketTargetSys.UpdateAllTargets(bucketName, meta.bucketTargetConfig)
    	}
    
    	return np, nerr
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 53.6K bytes
    - Click Count (0)
Back to Top