Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for bucketNames (0.3 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/erasure-server-pool-rebalance.go

    		dirQuorum: listingQuorum, // make sure to capture all quorum ratios
    		objQuorum: listingQuorum, // make sure to capture all quorum ratios
    		bucket:    bucketName,
    	}
    
    	err := listPathRaw(ctx, listPathRawOptions{
    		disks:          disks,
    		bucket:         bucketName,
    		recursive:      true,
    		forwardTo:      "",
    		minDisks:       listingQuorum,
    		reportNotFound: false,
    		agreed:         fn,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    type APIErrorResponse struct {
    	XMLName          xml.Name `xml:"Error" json:"-"`
    	Code             string
    	Message          string
    	Key              string `xml:"Key,omitempty" json:"Key,omitempty"`
    	BucketName       string `xml:"BucketName,omitempty" json:"BucketName,omitempty"`
    	Resource         string
    	Region           string `xml:"Region,omitempty" json:"Region,omitempty"`
    	RequestID        string `xml:"RequestId" json:"RequestId"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  8. cmd/iam.go

    func (sys *IAMSys) ListPolicies(ctx context.Context, bucketName string) (map[string]policy.Policy, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	return sys.store.ListPolicies(ctx, bucketName)
    }
    
    // ListPolicyDocs - lists all canned policy docs.
    func (sys *IAMSys) ListPolicyDocs(ctx context.Context, bucketName string) (map[string]PolicyDoc, error) {
    	if !sys.Initialized() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  9. cmd/object-api-errors.go

    	return "The operation is not valid for the current state of the object " + e.Bucket + "/" + e.Object + "(" + e.VersionID + ")"
    }
    
    // Bucket related errors.
    
    // BucketNameInvalid - bucketname provided is invalid.
    type BucketNameInvalid GenericError
    
    // Error returns string an error formatted as the given text.
    func (e BucketNameInvalid) Error() string {
    	return "Bucket name invalid: " + e.Bucket
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    		er.addPartial(bucket, object, opts.VersionID)
    		break
    	}
    
    	objInfo := fi.ToObjectInfo(bucket, object, opts.Versioned || opts.VersionSuspended)
    	sendEvent(eventArgs{
    		EventName:  eventName,
    		BucketName: bucket,
    		Object:     objInfo,
    		UserAgent:  "Internal: [ILM-Transition]",
    		Host:       globalLocalNodeName,
    	})
    	tags := opts.LifecycleAuditEvent.Tags()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
Back to top