- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for tagsMap (0.15 sec)
-
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 } return } // SetReqInfo sets ReqInfo in the context.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 4.4K bytes - Viewed (0) -
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 } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 28 18:25:46 UTC 2022 - 3.5K bytes - Viewed (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
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 04 17:01:26 UTC 2024 - 6.2K bytes - Viewed (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) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8K bytes - Viewed (0)