Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ListenNotificationHandler (0.38 sec)

  1. cmd/listen-notification-handlers.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/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()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. cmd/api-router.go

    			HandlerFunc(s3APIMiddleware(api.GetBucketNotificationHandler)).
    			Queries("notification", "")
    		// ListenNotification
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.ListenNotificationHandler, noThrottleS3HFlag)).
    			Queries("events", "{events:.*}")
    		// ResetBucketReplicationStatus - MinIO extension API
    		router.Methods(http.MethodGet).
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    		case "ListenNotification":
    			// Register ListenNotification Handler.
    			bucket.Methods(http.MethodGet).HandlerFunc(api.ListenNotificationHandler).Queries("events", "{events:.*}")
    		}
    	}
    }
    
    // registerAPIFunctions helper function to add API functions identified by name to the routers.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
Back to top