mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-13 01:19:07 +08:00
750a0ba1b2
Replace action read/write to readAcp/writeAcp for handlers with acl query https://github.com/seaweedfs/seaweedfs/issues/4519 Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
19 lines
471 B
Go
19 lines
471 B
Go
package s3_constants
|
|
|
|
import (
|
|
"strings"
|
|
)
|
|
|
|
var (
|
|
CircuitBreakerConfigDir = "/etc/s3"
|
|
CircuitBreakerConfigFile = "circuit_breaker.json"
|
|
AllowedActions = []string{ACTION_READ, ACTION_READ_ACP, ACTION_WRITE, ACTION_WRITE_ACP, ACTION_LIST, ACTION_TAGGING, ACTION_ADMIN}
|
|
LimitTypeCount = "Count"
|
|
LimitTypeBytes = "MB"
|
|
Separator = ":"
|
|
)
|
|
|
|
func Concat(elements ...string) string {
|
|
return strings.Join(elements, Separator)
|
|
}
|