Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for userFlags (0.31 sec)

  1. cmd/batch-handlers.go

    			// skip all objects that are created after the specified time.
    			return true
    		}
    
    		if hasTags {
    			// Only parse object tags if tags filter is specified.
    			tagMap := map[string]string{}
    			tagStr := oi.UserTags
    			if len(tagStr) != 0 {
    				t, err := tags.ParseObjectTags(tagStr)
    				if err != nil {
    					return false
    				}
    				tagMap = t.ToMap()
    			}
    			for _, kv := range r.Flags.Filter.Tags {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    				})
    				return
    			}
    		}
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	if userTags := oi.UserTags; userTags != "" {
    		// Set this such that authorization policies can be applied on the object tags.
    		r.Header.Set(xhttp.AmzObjectTagging, oi.UserTags)
    	}
    
    	// Allow deleteObjectTagging if policy action is set
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    		return false
    	}
    
    	if len(ef.Tags) > 0 && !obj.DeleteMarker {
    		// Only parse object tags if tags filter is specified.
    		var tagMap map[string]string
    		if len(obj.UserTags) != 0 {
    			t, err := tags.ParseObjectTags(obj.UserTags)
    			if err != nil {
    				return false
    			}
    			tagMap = t.ToMap()
    		}
    
    		for _, kv := range ef.Tags {
    			// Object (version) must match all tags specified in
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  4. cmd/data-scanner_test.go

    	var replWants []ObjectInfo
    	replWants = append(replWants, replObjInfos[:3]...)
    	replWants = append(replWants, replObjInfos[4])
    
    	allVersExpObjInfos := slices.Clone(objInfos)
    	allVersExpObjInfos[0].UserTags = "del-all=true"
    
    	replCfg := replication.Config{
    		Rules: []replication.Rule{
    			{
    				ID:       "",
    				Status:   "Enabled",
    				Priority: 1,
    				Destination: replication.Destination{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. cmd/erasure-metadata.go

    		}
    	}
    
    	// Extract etag from metadata.
    	objInfo.ETag = extractETag(fi.Metadata)
    
    	// Add user tags to the object info
    	tags := fi.Metadata[xhttp.AmzObjectTagging]
    	if len(tags) != 0 {
    		objInfo.UserTags = tags
    	}
    
    	// Add replication status to the object info
    	objInfo.ReplicationStatusInternal = fi.ReplicationState.ReplicationStatusInternal
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users_test.go

    func (c *check) mustPutObjectWithTags(ctx context.Context, client *minio.Client, bucket, object string) {
    	c.Helper()
    	_, err := client.PutObject(ctx, bucket, object, bytes.NewBuffer([]byte("stuff")), 5, minio.PutObjectOptions{
    		UserTags: map[string]string{
    			"security": "public",
    			"virus":    "true",
    		},
    	})
    	if err != nil {
    		c.Fatalf("user was unable to upload the object: %v", err)
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    	// GetObjectInfo will return tag value as well
    	oi, err := er.GetObjectInfo(ctx, bucket, object, opts)
    	if err != nil {
    		return nil, err
    	}
    
    	return tags.ParseObjectTags(oi.UserTags)
    }
    
    // TransitionObject - transition object content to target tier.
    func (er erasureObjects) TransitionObject(ctx context.Context, bucket, object string, opts ObjectOptions) error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    	}
    
    	oi, _, err := z.getLatestObjectInfoWithIdx(ctx, bucket, object, opts)
    	if err != nil {
    		return nil, err
    	}
    
    	return tags.ParseObjectTags(oi.UserTags)
    }
    
    // TransitionObject - transition object content to target tier.
    func (z *erasureServerPools) TransitionObject(ctx context.Context, bucket, object string, opts ObjectOptions) error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
Back to top