MCPcopy
hub / github.com/minio/minio-go / RemoveAllBucketNotification

Method RemoveAllBucketNotification

api-bucket-notification.go:76–78  ·  view source on GitHub ↗

RemoveAllBucketNotification - Remove bucket notification clears all previously specified config

(ctx context.Context, bucketName string)

Source from the content-addressed store, hash-verified

74
75// RemoveAllBucketNotification - Remove bucket notification clears all previously specified config
76func (c *Client) RemoveAllBucketNotification(ctx context.Context, bucketName string) error {
77 return c.SetBucketNotification(ctx, bucketName, notification.Configuration{})
78}
79
80// GetBucketNotification returns current bucket notification configuration
81func (c *Client) GetBucketNotification(ctx context.Context, bucketName string) (bucketNotification notification.Configuration, err error) {

Callers 2

testBucketNotificationFunction · 0.95
mainFunction · 0.80

Calls 1

SetBucketNotificationMethod · 0.95

Tested by

no test coverage detected