- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 281 for rule (0.04 sec)
-
internal/bucket/lifecycle/lifecycle.go
if obj.Name == "" { return nil } 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) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 17.9K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
// matching rules var rules []Rule for i := 1; i <= 10; i++ { rules = append(rules, Rule{ ID: strconv.Itoa(i), Status: "Enabled", NoncurrentVersionExpiration: NoncurrentVersionExpiration{ NewerNoncurrentVersions: i, NoncurrentDays: ExpirationDays(i), }, }) } lc := Lifecycle{ Rules: rules, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
docs/bucket/replication/setup_ilm_expiry_replication.sh
sleep 30s nprefix=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Filter.And.Prefix' | sed 's/"//g') ntagName1=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Filter.And.Tags[0].Key' | sed 's/"//g') ntagVal1=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Filter.And.Tags[0].Value' | sed 's/"//g') ntagName2=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Filter.And.Tags[1].Key' | sed 's/"//g')
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 12.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 15.5K bytes - Viewed (0) -
cni/pkg/iptables/iptables_linux.go
inpodMarkRule.Mask = ptr.Of(uint32(InpodTProxyMask)) inpodMarkRule.Priority = 32764 rules = append(rules, inpodMarkRule) } for _, rule := range rules { log.Debugf("processing netlink rule: %+v", rule) if err := f(rule); err != nil { return fmt.Errorf("failed to configure netlink rule: %w", err) } } return nil } func AddLoopbackRoutes(cfg *Config) error {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Sep 06 09:44:28 UTC 2024 - 4K bytes - Viewed (0) -
docs/bucket/lifecycle/README.md
This JSON rule is equivalent to the following MinIO Client command: ``` mc ilm rule add --noncurrent-expire-days 30 --noncurrent-expire-newer 5 myminio/mydata ``` #### 3.2.a Automatic removal of noncurrent versions keeping only most recent ones immediately (MinIO only extension) This is available only on MinIO as an extension to the NewerNoncurrentVersions feature. The following rule makes it possible to remove older noncurrent versions
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 09 01:45:38 UTC 2024 - 9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java
this.allRequired = allRequired; } @Override public boolean equals(final Object obj) { if (obj instanceof final RegexRule rule && allRequired == rule.isAllRequired() && defaultRule == rule.isDefaultRule() && regexMap.equals(rule.regexMap)) { return true; } return false; } @Override public int hashCode() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 3.4K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
if err != nil { log.Fatalf("Cannot read generated IPTables rule file: %v", err) } generatedRules := getRules(generated) refreshGoldens(t, tt.golden, generatedRules) // Compare generated iptables rule with golden files. golden, err := os.ReadFile(tt.golden) if err != nil { log.Fatalf("Cannot read golden rule file: %v", err) } goldenRules := getRules(golden)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 27 16:44:45 UTC 2024 - 8.5K bytes - Viewed (0) -
manifests/charts/base/files/crd-all.gen.yaml
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Nov 01 16:23:52 UTC 2024 - 805K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers.go
writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } // Create a map of updated set of rules in request updatedRules := make(map[string]lifecycle.Rule, len(bucketLifecycle.Rules)) for _, rule := range bucketLifecycle.Rules { updatedRules[rule.ID] = rule } // Get list of rules for the bucket from disk meta, err := globalBucketMetadataSys.GetConfigFromDisk(ctx, bucket) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 7K bytes - Viewed (0)