- Sort Score
- Result 10 results
- Languages All
Results 31 - 39 of 39 for ObjectAPI (1.72 sec)
-
cmd/bucket-replication.go
type replicationPoolOpts struct { Priority string MaxWorkers int MaxLWorkers int } func initBackgroundReplication(ctx context.Context, objectAPI ObjectLayer) { stats := NewReplicationStats(ctx, objectAPI) globalReplicationPool.Set(NewReplicationPool(ctx, objectAPI, globalAPIConfig.getReplicationOpts(), stats)) globalReplicationStats.Store(stats) go stats.trackEWMA() } type proxyResult struct {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118K bytes - Viewed (0) -
cmd/object-lambda-handlers_test.go
req = signer.SignV4(*req, credentials.AccessKey, credentials.SecretKey, "", "us-east-1") rec := httptest.NewRecorder() api := objectAPIHandlers{ ObjectAPI: func() ObjectLayer { return obj }, } api.GetObjectLambdaHandler(rec, req) res := rec.Result() defer res.Body.Close() respBody, _ := io.ReadAll(res.Body)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 18 21:56:31 UTC 2025 - 5.2K bytes - Viewed (0) -
cmd/listen-notification-handlers.go
ctx := newContext(r, w, "ListenNotification") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) // Validate if bucket exists. objAPI := api.ObjectAPI() if objAPI == nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL) return } vars := mux.Vars(r) bucketName := vars["bucket"] if bucketName == "" {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (0) -
cmd/admin-router.go
defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r)) // Check if object layer is available, if not return error early. if !handlerFlags.Has(noObjLayerFlag) { objectAPI := newObjectLayerFn() if objectAPI == nil || globalNotificationSys == nil { writeErrorResponseJSON(r.Context(), w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL) return } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 26.7K bytes - Viewed (0) -
cmd/api-router.go
globalObjLayerMutex.Lock() globalObjectAPI = o globalObjLayerMutex.Unlock() } // objectAPIHandlers implements and provides http handlers for S3 API. type objectAPIHandlers struct { ObjectAPI func() ObjectLayer } // getHost tries its best to return the request host. // According to section 14.23 of RFC 2616 the Host header // can include the port number if the default value of 80 is not used.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 07 15:37:12 UTC 2025 - 23.3K bytes - Viewed (0) -
cmd/site-replication.go
objectAPI := newObjectLayerFn() if objectAPI == nil { return errSRObjectLayerNotReady } if item.Bucket == "" || item.UpdatedAt.IsZero() { return wrapSRErr(errInvalidArgument) } meta, err := readBucketMetadata(ctx, objectAPI, item.Bucket) if err != nil { return wrapSRErr(err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 184.7K bytes - Viewed (0) -
cmd/bucket-replication-stats.go
} return st.Clone() } // NewReplicationStats initialize in-memory replication statistics func NewReplicationStats(ctx context.Context, objectAPI ObjectLayer) *ReplicationStats { r := metrics.NewRegistry() rs := ReplicationStats{ Cache: make(map[string]*BucketReplicationStats), qCache: newQueueCache(r),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 13.6K bytes - Viewed (0) -
cmd/object-handlers_test.go
expectedRespStatus: http.StatusBadRequest, }, // Test case - 8. // Test case with non-existent source file. // Case for the purpose of failing `api.ObjectAPI.GetObjectInfo`. // Expecting the response status code to http.StatusNotFound (404). { bucketName: bucketName, uploadID: uploadID,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
cmd/test-utils_test.go
// When cache is enabled, Put and Get operations are passed // to underlying cache layer to manage object layer operation and disk caching // operation api := objectAPIHandlers{ ObjectAPI: func() ObjectLayer { return globalObjectAPI }, } // Register ListBuckets handler. apiRouter.Methods(http.MethodGet).HandlerFunc(api.ListBucketsHandler) // Register all bucket level handlers.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0)