Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ListenNotification (0.33 sec)

  1. cmd/listen-notification-handlers.go

    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    func (api objectAPIHandlers) ListenNotificationHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListenNotification")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	// Validate if bucket exists.
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. cmd/api-router.go

    			Queries("versioning", "")
    		// GetBucketNotification
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketNotificationHandler)).
    			Queries("notification", "")
    		// ListenNotification
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.ListenNotificationHandler, noThrottleS3HFlag)).
    			Queries("events", "{events:.*}")
    		// ResetBucketReplicationStatus - MinIO extension API
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  3. cmd/event-notification.go

    	arns := []string{}
    	if evnot == nil {
    		return arns
    	}
    	region := globalSite.Region
    	for targetID, target := range evnot.targetList.TargetMap() {
    		// httpclient target is part of ListenNotification
    		// which doesn't need to be listed as part of the ARN list
    		// This list is only meant for external targets, filter
    		// this out pro-actively.
    		if !strings.HasPrefix(targetID.ID, "httpclient+") {
    			if onlyActive {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    		case "PutBucketNotification":
    			// Register PutBucketNotification Handler.
    			bucket.Methods(http.MethodPut).HandlerFunc(api.PutBucketNotificationHandler).Queries("notification", "")
    		case "ListenNotification":
    			// Register ListenNotification Handler.
    			bucket.Methods(http.MethodGet).HandlerFunc(api.ListenNotificationHandler).Queries("events", "{events:.*}")
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. docs/bucket/notifications/README.md

    | Supported ILM Transition Event Types |
    | :-----                               |
    | `s3:ObjectRestore:Post`              |
    | `s3:ObjectRestore:Completed`         |
    
    | Supported Global Event Types (Only supported through ListenNotification API) |
    | :-----                                                                       |
    | `s3:BucketCreated`                                                           |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
Back to top