Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ListenNotificationHandler (0.11 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 Nov 03 19:28:11 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, traceHdrsS3HFlag)).
    			Queries("events", "{events:.*}")
    		// ResetBucketReplicationStatus - MinIO extension API
    		router.Methods(http.MethodGet).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top