- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for tagsMap (0.16 seconds)
-
internal/bucket/replication/filter.go
if err != nil { return false } tagsMap := parsedTags.ToMap() // This filter has tags configured but this object // does not have any tag, skip this object if len(tagsMap) == 0 { return false } // Both filter and object have tags, find a match, // skip this object otherwise for k, cv := range f.cachedTags { v, ok := tagsMap[k] if ok && v == cv { return true } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 28 18:25:46 GMT 2022 - 3.5K bytes - Click Count (0) -
internal/logger/reqinfo.go
} return m } // PopulateTagsMap - returns the user defined tags in a map structure func (r *ReqInfo) PopulateTagsMap(tagsMap map[string]string) { if r == nil { return } if tagsMap == nil { return } r.RLock() defer r.RUnlock() for _, t := range r.tags { tagsMap[t.Key] = t.Val } } // SetReqInfo sets ReqInfo in the context.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 4.4K bytes - Click Count (0) -
internal/bucket/lifecycle/filter.go
parsedTags, err := tags.ParseObjectTags(userTags) if err != nil { return false } tagsMap := parsedTags.ToMap() // Not enough tags on object to satisfy the rule filter's tags if len(tagsMap) < len(f.cachedTags) { return false } var mismatch bool for k, cv := range f.cachedTags { v, ok := tagsMap[k] if !ok || v != cv { mismatch = true break } } return !mismatch
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 04 17:01:26 GMT 2024 - 6.2K bytes - Click Count (0) -
cmd/bucket-policy.go
} if userTags := cloneHeader.Get(xhttp.AmzObjectTagging); userTags != "" { tag, _ := tags.ParseObjectTags(userTags) if tag != nil { tagMap := tag.ToMap() keys := make([]string, 0, len(tagMap)) for k, v := range tagMap { args[pathJoin("ExistingObjectTag", k)] = []string{v} args[pathJoin("RequestObjectTag", k)] = []string{v} keys = append(keys, k) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0)