- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for tags (0.14 sec)
-
internal/bucket/lifecycle/rule.go
return p } return "" } // Tags - a rule can either have tag under <filter></filter> or under // <filter><and></and></filter>. This method returns all the tags from the // rule in the format tag1=value1&tag2=value2 func (r Rule) Tags() string { if !r.Filter.Tag.IsEmpty() { return r.Filter.Tag.String() } if len(r.Filter.And.Tags) != 0 { var buf bytes.Buffer
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 5.5K bytes - Viewed (0) -
internal/bucket/replication/filter.go
return err } } return nil } // TestTags tests if the object tags satisfy the Filter tags requirement, // it returns true if there is no tags in the underlying Filter. func (f *Filter) TestTags(userTags string) bool { if f.cachedTags == nil { cached := make(map[string]string) for _, t := range append(f.And.Tags, f.Tag) { if !t.IsEmpty() { cached[t.Key] = t.Value } } f.cachedTags = cached }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Sep 28 18:25:46 GMT 2022 - 3.5K bytes - Viewed (2) -
internal/bucket/replication/rule.go
} return r.Filter.And.Prefix } // Tags - a rule can either have tag under <filter></filter> or under // <filter><and></and></filter>. This method returns all the tags from the // rule in the format tag1=value1&tag2=value2 func (r Rule) Tags() string { if !r.Filter.Tag.IsEmpty() { return r.Filter.Tag.String() } if len(r.Filter.And.Tags) != 0 { var buf bytes.Buffer
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 24 23:22:20 GMT 2022 - 8.3K bytes - Viewed (0) -
cmd/bucket-lifecycle-audit.go
) tags := make(map[string]interface{}, 5) if src > lcEventSrc_None { tags[ilmSrc] = src.String() } tags[ilmAction] = event.Action.String() tags[ilmRuleID] = event.RuleID if !event.Due.IsZero() { tags[ilmDue] = event.Due } // rule with Transition/NoncurrentVersionTransition in effect if event.StorageClass != "" { tags[ilmTier] = event.StorageClass }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Dec 01 15:56:24 GMT 2023 - 2.6K bytes - Viewed (0) -
internal/logger/reqinfo.go
r.Lock() defer r.Unlock() // Search of tag key already exists in tags var updated bool for _, tag := range r.tags { if tag.Key == key { tag.Val = val updated = true break } } if !updated { // Append to the end of tags list r.tags = append(r.tags, KeyVal{key, val}) } return r } // GetTags - returns the user defined tags func (r *ReqInfo) GetTags() []KeyVal {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 4.4K bytes - Viewed (0) -
internal/bucket/lifecycle/filter.go
var and And if err = d.DecodeElement(&and, &se); err != nil { return err } f.And = and f.andSet = true case "Tag": var tag Tag if err = d.DecodeElement(&tag, &se); err != nil { return err } f.Tag = tag f.tagSet = true case "ObjectSizeLessThan": var sz int64 if err = d.DecodeElement(&sz, &se); err != nil { return err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Feb 27 00:01:20 GMT 2024 - 6.2K bytes - Viewed (0) -
internal/bucket/versioning/versioning_test.go
// Validates if Versioning with no excluded prefixes omits // ExcludedPrefixes tags v := Versioning{ Status: Enabled, } buf, err := xml.Marshal(v) if err != nil { t.Fatalf("Failed to marshal %v: %v", v, err) } str := string(buf) if strings.Contains(str, "ExcludedPrefixes") { t.Fatalf("XML shouldn't contain ExcludedPrefixes tag - %s", str) } } func TestVersioningZero(t *testing.T) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 08 05:06:44 GMT 2022 - 8.8K bytes - Viewed (0) -
buildscripts/cross-compile.sh
package=$(go list -f '{{.ImportPath}}') printf -- "--> %15s:%s\n" "${osarch}" "${package}" # go build -trimpath to build the binary. export GOOS=$os export GOARCH=$arch export GO111MODULE=on go build -trimpath -tags kqueue -o /dev/null } function main() { echo "Testing builds for OS/Arch: ${SUPPORTED_OSARCH}" for each_osarch in ${SUPPORTED_OSARCH}; do _build "${each_osarch}" done }
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Dec 19 01:08:22 GMT 2023 - 958 bytes - Viewed (0) -
docs/batch-jobs/README.md
createdAfter: "date" # match objects created after "date" createdBefore: "date" # match objects created before "date" ## NOTE: tags are not supported when "source" is remote. # tags: # - key: "name" # value: "pick*" # match objects with tag 'name', with all values starting with 'pick' ## NOTE: metadata filter not supported when "source" is non MinIO. # metadata: # - key: "content-type"
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Oct 06 06:00:43 GMT 2022 - 4.8K bytes - Viewed (0) -
.github/workflows/go-fips.yml
EOF - name: Build uses: docker/build-push-action@v3 with: context: . file: Dockerfile.fips.test push: false load: true tags: minio/fips-test:latest # This should fail if grep returns non-zero exit - name: Test binary run: | docker run --rm minio/fips-test:latest ./minio --version
Others - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Mar 28 23:44:49 GMT 2024 - 1.5K bytes - Viewed (0)