MCPcopy Create free account
hub / github.com/pydio/cells / GetMinioConfig

Method GetMinioConfig

data/source/objects/grpc/handler.go:186–196  ·  view source on GitHub ↗

GetMinioConfig returns current configuration

(ctx context.Context, _ *object.GetMinioConfigRequest)

Source from the content-addressed store, hash-verified

184
185// GetMinioConfig returns current configuration
186func (o *ObjectHandler) GetMinioConfig(ctx context.Context, _ *object.GetMinioConfigRequest) (*object.GetMinioConfigResponse, error) {
187
188 if conf, er := o.getConfig(ctx); er == nil {
189 return &object.GetMinioConfigResponse{
190 MinioConfig: conf,
191 }, nil
192 } else {
193 return nil, er
194 }
195
196}
197
198// StorageStats returns statistics about storage
199func (o *ObjectHandler) StorageStats(ctx context.Context, _ *object.StorageStatsRequest) (*object.StorageStatsResponse, error) {

Callers

nothing calls this directly

Calls 1

getConfigMethod · 0.95

Tested by

no test coverage detected