mirror of https://github.com/minio/minio.git
Enable s3,gcs,manta,oss,b2 gateways as production ready (#5795)
This commit is contained in:
parent
1d31ad499f
commit
41c31d10ca
|
@ -126,10 +126,9 @@ func (g *B2) NewGatewayLayer(creds auth.Credentials) (minio.ObjectLayer, error)
|
|||
}, nil
|
||||
}
|
||||
|
||||
// Production - Ready for production use?
|
||||
// Production - Ready for production use.
|
||||
func (g *B2) Production() bool {
|
||||
// Not ready for production use just yet.
|
||||
return false
|
||||
return true
|
||||
}
|
||||
|
||||
// b2Object implements gateway for Minio and BackBlaze B2 compatible object storage servers.
|
||||
|
|
|
@ -210,9 +210,9 @@ func (g *GCS) NewGatewayLayer(creds auth.Credentials) (minio.ObjectLayer, error)
|
|||
return gcs, nil
|
||||
}
|
||||
|
||||
// Production - FIXME: GCS is not production ready yet.
|
||||
// Production - GCS gateway is production ready.
|
||||
func (g *GCS) Production() bool {
|
||||
return false
|
||||
return true
|
||||
}
|
||||
|
||||
// Stored in gcs.json - Contents of this file is not used anywhere. It can be
|
||||
|
|
|
@ -225,9 +225,9 @@ func (g *Manta) NewGatewayLayer(creds auth.Credentials) (minio.ObjectLayer, erro
|
|||
}, nil
|
||||
}
|
||||
|
||||
// Production - Manta is not production ready.
|
||||
// Production - Manta is production ready.
|
||||
func (g *Manta) Production() bool {
|
||||
return false
|
||||
return true
|
||||
}
|
||||
|
||||
// tritonObjects - Implements Object layer for Triton Manta storage
|
||||
|
|
|
@ -149,9 +149,9 @@ func (g *OSS) NewGatewayLayer(creds auth.Credentials) (minio.ObjectLayer, error)
|
|||
}, nil
|
||||
}
|
||||
|
||||
// Production - oss is not production ready yet.
|
||||
// Production - oss is production ready.
|
||||
func (g *OSS) Production() bool {
|
||||
return false
|
||||
return true
|
||||
}
|
||||
|
||||
// appendS3MetaToOSSOptions converts metadata meant for S3 PUT/COPY
|
||||
|
|
|
@ -147,9 +147,9 @@ func (g *S3) NewGatewayLayer(creds auth.Credentials) (minio.ObjectLayer, error)
|
|||
}, nil
|
||||
}
|
||||
|
||||
// Production - s3 gateway is not production ready.
|
||||
// Production - s3 gateway is production ready.
|
||||
func (g *S3) Production() bool {
|
||||
return false
|
||||
return true
|
||||
}
|
||||
|
||||
// s3Objects implements gateway for Minio and S3 compatible object storage servers.
|
||||
|
|
Loading…
Reference in New Issue