Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for bucketNames (2.01 sec)

  1. cmd/post-policy_test.go

    	// Create a new post policy.
    	policy := newPostPolicyBytesV4(credStr, bucketName, objectName, expirationTime)
    	if contentLengthRange {
    		policy = newPostPolicyBytesV4WithContentRange(credStr, bucketName, objectName, expirationTime)
    	}
    	return policy
    }
    
    func newPostRequestV4Generic(endPoint, bucketName, objectName string, objData []byte, accessKey, secretKey string, region string,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    		{
    			bucketName:       bucketName,
    			uploadID:         "-1",
    			copySourceHeader: url.QueryEscape(SlashSeparator + bucketName + SlashSeparator + objectName),
    			accessKey:        credentials.AccessKey,
    			secretKey:        credentials.SecretKey,
    
    			expectedRespStatus: http.StatusNotFound,
    		},
    		// Test case - 12.
    		// invalid part number.
    		{
    			bucketName:         bucketName,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    func getGetObjectURL(endPoint, bucketName, objectName string) string {
    	return makeTestTargetURL(endPoint, bucketName, objectName, url.Values{})
    }
    
    // return URL for deleting the object from the bucket.
    func getDeleteObjectURL(endPoint, bucketName, objectName string) string {
    	return makeTestTargetURL(endPoint, bucketName, objectName, url.Values{})
    }
    
    // return URL for deleting multiple objects from a bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    	for k, v := range m {
    		if bucketName == "" || v.Policy.MatchResource(bucketName) {
    			ret[k] = v.Policy
    		}
    	}
    
    	return ret, nil
    }
    
    // ListPolicyDocs - fetches all policy docs from storage and updates cache as well.
    // If bucketName is non-empty, returns policy docs matching the bucket.
    func (store *IAMStoreSys) ListPolicyDocs(ctx context.Context, bucketName string) (map[string]PolicyDoc, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/bucket-lifecycle.go

    // LifecycleSys - Bucket lifecycle subsystem.
    type LifecycleSys struct{}
    
    // Get - gets lifecycle config associated to a given bucket name.
    func (sys *LifecycleSys) Get(bucketName string) (lc *lifecycle.Lifecycle, err error) {
    	lc, _, err = globalBucketMetadataSys.GetLifecycleConfig(bucketName)
    	return lc, err
    }
    
    // NewLifecycleSys - creates new lifecycle system.
    func NewLifecycleSys() *LifecycleSys {
    	return &LifecycleSys{}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    		Action:          policy.ListBucketAction,
    		BucketName:      bucket,
    		ConditionValues: getConditionValues(r, "", auth.AnonymousCredentials),
    		IsOwner:         false,
    	})
    
    	// Check if anonymous (non-owner) has access to upload objects.
    	writable := globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    		Action:          policy.PutObjectAction,
    		BucketName:      bucket,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    )
    
    // gets replication config associated to a given bucket name.
    func getReplicationConfig(ctx context.Context, bucketName string) (rc *replication.Config, err error) {
    	rCfg, _, err := globalBucketMetadataSys.GetReplicationConfig(ctx, bucketName)
    	if err != nil && !errors.Is(err, BucketReplicationConfigNotFound{Bucket: bucketName}) {
    		return rCfg, err
    	}
    	return rCfg, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. cmd/bucket-object-lock.go

    type BucketObjectLockSys struct{}
    
    // Get - Get retention configuration.
    func (sys *BucketObjectLockSys) Get(bucketName string) (r objectlock.Retention, err error) {
    	config, _, err := globalBucketMetadataSys.GetObjectLockConfig(bucketName)
    	if err != nil {
    		if errors.Is(err, BucketObjectLockConfigNotFound{Bucket: bucketName}) {
    			return r, nil
    		}
    		if errors.Is(err, errInvalidArgument) {
    			return r, err
    		}
    		return r, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    	restoreObject := mustGetUUID()
    	if rreq.OutputLocation.S3.BucketName != "" {
    		w.Header()[xhttp.AmzRestoreOutputPath] = []string{pathJoin(rreq.OutputLocation.S3.BucketName, rreq.OutputLocation.S3.Prefix, restoreObject)}
    	}
    	w.WriteHeader(statusCode)
    	// Notify object restore started via a POST request.
    	sendEvent(eventArgs{
    		EventName:  event.ObjectRestorePost,
    		BucketName: bucket,
    		Object:     objInfo,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    			var resultV ListObjectVersionsInfo
    			if testCase.versioned {
    				t.Log("ListObjectVersions, bucket:", testCase.bucketName, "prefix:",
    					testCase.prefix, "marker:", testCase.marker, "delimiter:",
    					testCase.delimiter, "maxkeys:", testCase.maxKeys)
    
    				resultV, err = obj.ListObjectVersions(context.Background(), testCase.bucketName,
    					testCase.prefix, testCase.marker, "", testCase.delimiter, testCase.maxKeys)
    			} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top