Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getListenNotificationURL (0.1 sec)

  1. cmd/server_test.go

    	tooBigPrefix := string(tooByte)
    	validEvents := []string{"s3:ObjectCreated:*", "s3:ObjectRemoved:*"}
    	invalidEvents := []string{"invalidEvent"}
    
    	req, err = newTestSignedRequest(http.MethodGet,
    		getListenNotificationURL(s.endPoint, invalidBucket, []string{}, []string{}, []string{}),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	// execute the request.
    	response, err = s.client.Do(req)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	queryValue := url.Values{}
    	queryValue.Set("uploadId", uploadID)
    	return makeTestTargetURL(endPoint, bucketName, objectName, queryValue)
    }
    
    // return URL for listen bucket notification.
    func getListenNotificationURL(endPoint, bucketName string, prefixes, suffixes, events []string) string {
    	queryValue := url.Values{}
    
    	queryValue["prefix"] = prefixes
    	queryValue["suffix"] = suffixes
    	queryValue["events"] = events
    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