Add bucket notification support for NAS gateway (#6908)

Fixes #6885
This commit is contained in:
Harshavardhana
2018-12-03 00:32:14 -08:00
committed by Nitish Tiwari
parent 5549a44566
commit d6af3c1237
4 changed files with 36 additions and 24 deletions

View File

@@ -28,6 +28,9 @@ const (
// DistXLSetupType - Distributed XL setup type enum.
DistXLSetupType
// GatewaySetupType - gateway setup type enum.
GatewaySetupType
)
func (setupType SetupType) String() string {
@@ -38,6 +41,8 @@ func (setupType SetupType) String() string {
return globalMinioModeXL
case DistXLSetupType:
return globalMinioModeDistXL
case GatewaySetupType:
return globalMinioModeGatewayPrefix
}
return ""