Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetTaggingConfig (0.1 sec)

  1. cmd/bucket-metadata-sys.go

    		return nil, time.Time{}, BucketPolicyNotFound{Bucket: bucket}
    	}
    	return meta.policyConfig, meta.PolicyConfigUpdatedAt, nil
    }
    
    // GetTaggingConfig returns configured tagging config
    // The returned object may not be modified.
    func (sys *BucketMetadataSys) GetTaggingConfig(bucket string) (*tags.Tags, time.Time, error) {
    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    					return
    				}
    				rawDataFn(bytes.NewReader(configData), cfgPath, len(configData))
    			case bucketTaggingConfig:
    				config, _, err := globalBucketMetadataSys.GetTaggingConfig(bucket)
    				if err != nil {
    					if errors.Is(err, BucketTaggingNotFound{Bucket: bucket}) {
    						continue
    					}
    					writeErrorResponse(ctx, w, exportError(ctx, err, cfgFile, bucket), r.URL)
    					return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	config, _, err := globalBucketMetadataSys.GetTaggingConfig(bucket)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	configData, err := xml.Marshal(config)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users.go

    			quota, _ := globalBucketQuotaSys.Get(ctx, bucket.Name)
    			rcfg, _, _ := globalBucketMetadataSys.GetReplicationConfig(ctx, bucket.Name)
    			tcfg, _, _ := globalBucketMetadataSys.GetTaggingConfig(bucket.Name)
    
    			acctInfo.Buckets = append(acctInfo.Buckets, madmin.BucketAccessInfo{
    				Name:                    bucket.Name,
    				Created:                 bucket.Created,
    				Size:                    size,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    	// skip overwrite if local update is newer than peer update.
    	if !updatedAt.IsZero() {
    		if _, updateTm, err := globalBucketMetadataSys.GetTaggingConfig(bucket); err == nil && updateTm.After(updatedAt) {
    			return nil
    		}
    	}
    
    	if tags != nil {
    		configData, err := base64.StdEncoding.DecodeString(*tags)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top