Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 69 of 69 for bucketnames (0.15 sec)

  1. cmd/utils.go

    // - beginning of a string
    // OR
    // - end of a string
    func hasSpaceBE(s string) bool {
    	return strings.TrimSpace(s) != s
    }
    
    func request2BucketObjectName(r *http.Request) (bucketName, objectName string) {
    	path, err := getResource(r.URL.Path, r.Host, globalDomainNames)
    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    
    	return path2BucketObject(path)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. 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() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    				globalBucketConnStats.incS3OutputBytes(bucket, int64(tc.ResponseRecorder.Size()))
    				globalBucketHTTPStats.updateHTTPStats(bucket, api, tc.ResponseRecorder)
    			}
    		}
    	}
    }
    
    // Returns "/bucketName/objectName" for path-style or virtual-host-style requests.
    func getResource(path string, host string, domains []string) (string, error) {
    	if len(domains) == 0 {
    		return path, nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. 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
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. cmd/peer-rest-client.go

    	values.Set(peerRESTConcurrent, strconv.Itoa(opts.concurrency))
    	values.Set(peerRESTDuration, opts.duration.String())
    	values.Set(peerRESTStorageClass, opts.storageClass)
    	values.Set(peerRESTBucket, opts.bucketName)
    	values.Set(peerRESTEnableSha256, strconv.FormatBool(opts.enableSha256))
    	values.Set(peerRESTEnableMultipart, strconv.FormatBool(opts.enableMultipart))
    	values.Set(peerRESTAccessKey, opts.creds.AccessKey)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. cmd/admin-heal-ops.go

    func newHealSequence(ctx context.Context, bucket, objPrefix, clientAddr string,
    	hs madmin.HealOpts, forceStart bool,
    ) *healSequence {
    	reqInfo := &logger.ReqInfo{RemoteHost: clientAddr, API: "Heal", BucketName: bucket}
    	reqInfo.AppendTags("prefix", objPrefix)
    	ctx, cancel := context.WithCancel(logger.SetReqInfo(ctx, reqInfo))
    
    	clientToken := mustGetUUID()
    
    	return &healSequence{
    		bucket:         bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  7. docs/bucket/notifications/README.md

    notifications using the [`event` sub-command](https://min.io/docs/minio/linux/reference/minio-mc/mc-event-add.html). MinIO SDK's [`BucketNotification` APIs](https://min.io/docs/minio/linux/developers/go/API.html#setbucketnotification-ctx-context-context-bucketname-string-config-notification-configuration-error) can also be used. The notification message MinIO sends to publish an event is a JSON message with the following [structure](https://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html)....
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  8. cmd/object-multipart-handlers.go

    	// Write success response.
    	writeSuccessResponseXML(w, encodedSuccessResponse)
    
    	// Notify object created event.
    	evt := eventArgs{
    		EventName:    event.ObjectCreatedCompleteMultipartUpload,
    		BucketName:   bucket,
    		Object:       objInfo,
    		ReqParams:    extractReqParams(r),
    		RespElements: extractRespElements(w),
    		UserAgent:    r.UserAgent(),
    		Host:         handlers.GetSourceIP(r),
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  9. 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()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top