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

Function NewConfig

pkg/notification/notification.go:149–151  ·  view source on GitHub ↗

NewConfig creates one notification config and sets the given ARN

(arn Arn)

Source from the content-addressed store, hash-verified

147
148// NewConfig creates one notification config and sets the given ARN
149func NewConfig(arn Arn) Config {
150 return Config{Arn: arn, Filter: &Filter{}}
151}
152
153// AddEvents adds one event to the current notification config
154func (t *Config) AddEvents(events ...EventType) {

Callers 2

testBucketNotificationFunction · 0.92
mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected