Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tagKeys (0.03 sec)

  1. internal/bucket/lifecycle/evaluator_test.go

    	"time"
    
    	"github.com/google/uuid"
    )
    
    func TestNewerNoncurrentVersions(t *testing.T) {
    	prepLifecycleCfg := func(tagKeys []string, retainVersions []int) Lifecycle {
    		var lc Lifecycle
    		for i := range retainVersions {
    			ruleID := fmt.Sprintf("rule-%d", i)
    			tag := Tag{
    				Key:   tagKeys[i],
    				Value: "minio",
    			}
    			lc.Rules = append(lc.Rules, Rule{
    				ID:     ruleID,
    				Status: "Enabled",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 08 15:41:24 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. internal/bucket/replication/tag.go

    	XMLName xml.Name `xml:"Tag" json:"Tag"`
    	Key     string   `xml:"Key,omitempty" json:"Key,omitempty"`
    	Value   string   `xml:"Value,omitempty" json:"Value,omitempty"`
    }
    
    var (
    	errInvalidTagKey   = Errorf("The TagKey you have provided is invalid")
    	errInvalidTagValue = Errorf("The TagValue you have provided is invalid")
    )
    
    func (tag Tag) String() string {
    	return tag.Key + "=" + tag.Value
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/tag.go

    type Tag struct {
    	XMLName xml.Name `xml:"Tag"`
    	Key     string   `xml:"Key,omitempty"`
    	Value   string   `xml:"Value,omitempty"`
    }
    
    var (
    	errInvalidTagKey   = Errorf("The TagKey you have provided is invalid")
    	errInvalidTagValue = Errorf("The TagValue you have provided is invalid")
    
    	errDuplicatedXMLTag = Errorf("duplicated XML Tag")
    	errUnknownXMLTag    = Errorf("unknown XML Tag")
    )
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top