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

Method AddEvents

pkg/notification/notification.go:154–156  ·  view source on GitHub ↗

AddEvents adds one event to the current notification config

(events ...EventType)

Source from the content-addressed store, hash-verified

152
153// AddEvents adds one event to the current notification config
154func (t *Config) AddEvents(events ...EventType) {
155 t.Events = append(t.Events, events...)
156}
157
158// AddFilterSuffix sets the suffix configuration to the current notification config
159func (t *Config) AddFilterSuffix(suffix string) {

Callers 2

testBucketNotificationFunction · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected