- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for S3Key (0.03 sec)
-
internal/event/config_test.go
expectErr bool }{ {[]byte(`<S3Key><FilterRule><Name>suffix</Name><Value>Hello/世界</Value></FilterRule><FilterRule><Name>suffix</Name><Value>foo/bar</Value></FilterRule></S3Key>`), nil, true}, {[]byte(`<S3Key><FilterRule><Name>prefix</Name><Value>Hello/世界</Value></FilterRule><FilterRule><Name>prefix</Name><Value>foo/bar</Value></FilterRule></S3Key>`), 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
} return NewPattern(prefix, suffix) } // S3Key - represents elements inside <S3Key>...</S3Key> type S3Key struct { RuleList FilterRuleList `xml:"S3Key,omitempty" json:"S3Key,omitempty"` } // MarshalXML implements a custom marshaller to support `omitempty` feature. func (s3Key S3Key) MarshalXML(e *xml.Encoder, start xml.StartElement) error { if s3Key.RuleList.isEmpty() { return nil }
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)