GetMinioConfig returns current configuration
(ctx context.Context, _ *object.GetMinioConfigRequest)
| 184 | |
| 185 | // GetMinioConfig returns current configuration |
| 186 | func (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 |
| 199 | func (o *ObjectHandler) StorageStats(ctx context.Context, _ *object.StorageStatsRequest) (*object.StorageStatsResponse, error) { |