Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for UserTags (0.07 sec)

  1. internal/bucket/replication/replication_test.go

    		// using config 2 - has more than one rule with overlapping prefixes
    		{ObjectOpts{Name: "xy/c3test", UserTags: "k1=v1"}, cfgs[2], true},                                                                       // 17. matches rule 1 for replication of content/metadata
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    		ContentEncoding:            o.ContentEncoding,
    		Expires:                    o.Expires,
    		StorageClass:               o.StorageClass,
    		ReplicationStatus:          o.ReplicationStatus,
    		UserTags:                   o.UserTags,
    		Parts:                      o.Parts,
    		Writer:                     o.Writer,
    		Reader:                     o.Reader,
    		PutObjReader:               o.PutObjReader,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. cmd/api-response.go

    	// The class of storage used to store the object.
    	StorageClass string
    
    	// UserMetadata user-defined metadata
    	UserMetadata *Metadata `xml:"UserMetadata,omitempty"`
    	UserTags     string    `xml:"UserTags,omitempty"`
    
    	Internal *ObjectInternalInfo `xml:"Internal,omitempty"`
    }
    
    // CopyObjectResponse container returns ETag and LastModified of the successfully copied object
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle.go

    	var rules []Rule
    	for _, rule := range lc.Rules {
    		if rule.Status == Disabled {
    			continue
    		}
    		if !strings.HasPrefix(obj.Name, rule.GetPrefix()) {
    			continue
    		}
    		if !rule.Filter.TestTags(obj.UserTags) {
    			continue
    		}
    		if !obj.DeleteMarker && !rule.Filter.BySize(obj.Size) {
    			continue
    		}
    		rules = append(rules, rule)
    	}
    	return rules
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils.go

    		TargetStatuses:       tgtStatuses,
    		TargetPurgeStatuses:  purgeStatuses,
    		ReplicationTimestamp: tm,
    		SSEC:                 crypto.SSEC.IsEncrypted(oi.UserDefined),
    		UserTags:             oi.UserTags,
    	}
    	if r.SSEC {
    		r.Checksum = oi.Checksum
    	}
    	return r
    }
    
    // ReplicationState - returns replication state using other internal replication metadata in ObjectInfo
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle.go

    			UserDefined:      meta,
    		}
    	}
    	for k, v := range objInfo.UserDefined {
    		meta[k] = v
    	}
    	if len(objInfo.UserTags) != 0 {
    		meta[xhttp.AmzObjectTagging] = objInfo.UserTags
    	}
    	// Set restore object status
    	restoreExpiry := lifecycle.ExpectedExpiryTime(time.Now().UTC(), rreq.Days)
    	meta[xhttp.AmzRestore] = completedRestoreObj(restoreExpiry).String()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  7. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top