- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for FilterRule (0.16 sec)
-
internal/event/config_test.go
data []byte expectedResult *FilterRule expectErr bool }{ {[]byte(`<FilterRule></FilterRule>`), nil, true}, {[]byte(`<FilterRule><Name></Name></FilterRule>`), nil, true}, {[]byte(`<FilterRule><Value></Value></FilterRule>`), nil, true}, {[]byte(`<FilterRule><Name></Name><Value></Value></FilterRule>`), nil, true}, {[]byte(`<FilterRule><Name>Prefix</Name><Value>Hello/世界</Value></FilterRule>`), nil, true},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Dec 05 10:16:33 UTC 2023 - 29K bytes - Viewed (0) -
internal/event/config.go
} // FilterRule - represents elements inside <FilterRule>...</FilterRule> type FilterRule struct { Name string `xml:"Name"` Value string `xml:"Value"` } func (filter FilterRule) isEmpty() bool { return filter.Name == "" && filter.Value == "" } // MarshalXML implements a custom marshaller to support `omitempty` feature.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 8.4K bytes - Viewed (0) -
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.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0)