Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for QueueConfiguration (0.31 sec)

  1. internal/event/config_test.go

    func TestQueueUnmarshalXML(t *testing.T) {
    	dataCase1 := []byte(`
    <QueueConfiguration>
       <Id>1</Id>
       <Filter></Filter>
       <Queue>arn:minio:sqs:us-east-1:1:webhook</Queue>
       <Event>s3:ObjectAccessed:*</Event>
       <Event>s3:ObjectCreated:*</Event>
       <Event>s3:ObjectRemoved:*</Event>
    </QueueConfiguration>`)
    
    	dataCase2 := []byte(`
    <QueueConfiguration>
       <Id>1</Id>
        <Filter>
            <S3Key>
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 29K bytes
    - Viewed (0)
  2. internal/event/config.go

    }
    
    // common - represents common elements inside <QueueConfiguration>, <CloudFunctionConfiguration>
    // and <TopicConfiguration>
    type common struct {
    	ID     string `xml:"Id" json:"Id"`
    	Filter S3Key  `xml:"Filter" json:"Filter"`
    	Events []Name `xml:"Event" json:"Event"`
    }
    
    // Queue - represents elements inside <QueueConfiguration>
    type Queue struct {
    	common
    	ARN ARN `xml:"Queue"`
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	// Sample bucket notification.
    	bucketNotificationBuf := `<NotificationConfiguration><QueueConfiguration><Event>s3:ObjectCreated:Put</Event><Filter><S3Key><FilterRule><Name>prefix</Name><Value>images/</Value></FilterRule></S3Key></Filter><Id>1</Id><Queue>arn:minio:sqs:us-east-1:444455556666:webhook</Queue></QueueConfiguration></NotificationConfiguration>`
    	// generate a random bucket Name.
    	bucketName := getRandomBucketName()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top