Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for ObjectAPI (0.28 sec)

  1. cmd/bucket-handlers.go

    	ctx := newContext(r, w, "ListBuckets")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	listBuckets := objectAPI.ListBuckets
    
    	cred, owner, s3Error := checkRequestAuthTypeCredential(ctx, r, policy.ListAllMyBucketsAction)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  2. cmd/bucket-listobjects-handlers.go

    	ctx := newContext(r, w, "ListObjectVersions")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. cmd/admin-handlers-config-kv.go

    	if dynamic {
    		applyDynamic(ctx, objectAPI, cfg, subSys, r, w)
    		if subSys == config.SubnetSubSys && loggerWebhookProxyDeleted {
    			// Logger webhook proxy deleted, apply the dynamic changes
    			applyDynamic(ctx, objectAPI, cfg, config.LoggerWebhookSubSys, r, w)
    		}
    	}
    }
    
    func applyDynamic(ctx context.Context, objectAPI ObjectLayer, cfg config.Config, subSys string,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. cmd/s3-zip-handlers.go

    func listObjectsV2InArchive(ctx context.Context, objectAPI ObjectLayer, bucket, prefix, token, delimiter string, maxKeys int, startAfter string, h http.Header) (ListObjectsV2Info, error) {
    	zipPath, _, err := splitZipExtensionPath(prefix)
    	if err != nil {
    		// Return empty listing
    		return ListObjectsV2Info{}, nil
    	}
    
    	zipObjInfo, err := objectAPI.GetObjectInfo(ctx, bucket, zipPath, ObjectOptions{})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. cmd/admin-handlers-site-replication.go

    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.SiteReplicationInfoAction)
    	if objectAPI == nil {
    		return
    	}
    
    	opts := getSRStatusOptions(r)
    	info, err := globalSiteReplicationSys.SiteReplicationMetaInfo(ctx, objectAPI, opts)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. cmd/bucket-versioning-handler.go

    	ctx := newContext(r, w, "PutBucketVersioning")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. cmd/admin-handlers-pools.go

    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.DecommissionAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	// Legacy args style such as non-ellipses style is not supported with this API.
    	if globalEndpoints.Legacy() {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	z, ok := objectAPI.(*erasureServerPools)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 00:22:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. cmd/kms-handlers.go

    func (a kmsAPIHandlers) KMSStatusHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "KMSStatus")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.KMSStatusAction)
    	if objectAPI == nil {
    		return
    	}
    
    	if GlobalKMS == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. cmd/bucket-metadata.go

    		if err = b.parseAllConfigs(ctx, objectAPI); err != nil {
    			return b, err
    		}
    	}
    
    	// migrate unencrypted remote targets
    	if err = b.migrateTargetConfig(ctx, objectAPI); err != nil {
    		return b, err
    	}
    
    	return b, nil
    }
    
    // loadBucketMetadata loads and migrates to bucket metadata.
    func loadBucketMetadata(ctx context.Context, objectAPI ObjectLayer, bucket string) (BucketMetadata, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    		return
    	}
    
    	var objectAPI ObjectLayer
    	switch serviceSig {
    	case serviceRestart:
    		objectAPI, _ = validateAdminReq(ctx, w, r, policy.ServiceRestartAdminAction)
    	case serviceStop:
    		objectAPI, _ = validateAdminReq(ctx, w, r, policy.ServiceStopAdminAction)
    	case serviceFreeze, serviceUnFreeze:
    		objectAPI, _ = validateAdminReq(ctx, w, r, policy.ServiceFreezeAdminAction)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top