- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 874 for rule (0.04 seconds)
-
internal/bucket/lifecycle/rule.go
} func (r Rule) validateTransition() error { return r.Transition.Validate() } func (r Rule) validateNoncurrentTransition() error { return r.NoncurrentVersionTransition.Validate() } // GetPrefix - a rule can either have prefix under <rule></rule>, <filter></filter> // or under <filter><and></and></filter>. This method returns the prefix from the // location where it is available. func (r Rule) GetPrefix() string {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 25 20:12:21 GMT 2024 - 6.4K bytes - Click Count (0) -
internal/bucket/replication/rule.go
return err } if len(erep.Status) == 0 { erep.Status = Disabled } e.Status = erep.Status return nil } // Rule - a rule for replication configuration. type Rule struct { XMLName xml.Name `xml:"Rule" json:"Rule"` ID string `xml:"ID,omitempty" json:"ID,omitempty"`
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.3K bytes - Click Count (0) -
fess-crawler-lasta/src/main/resources/crawler/rule.xml
<component name="ruleManager" class="org.codelibs.fess.crawler.rule.impl.RuleManagerImpl" instance="prototype"> <postConstruct name="addRule"> <arg>sitemapsRule</arg> </postConstruct> <postConstruct name="addRule"> <arg>fileRule</arg> </postConstruct> </component> <component name="sitemapsRule" class="org.codelibs.fess.crawler.rule.impl.SitemapsRule"> <property name="ruleId">"sitemapsRule"</property>
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Oct 11 02:16:55 GMT 2015 - 1.5K bytes - Click Count (0) -
src/main/resources/crawler/rule.xml
"http://dbflute.org/meta/lastadi10.dtd"> <components namespace="fessCrawler"> <include path="crawler/container.xml" /> <include path="crawler/transformer.xml" /> <component name="ruleManager" class="org.codelibs.fess.crawler.rule.impl.RuleManagerImpl" instance="prototype"> <postConstruct name="addRule"> <arg>sitemapsRule</arg> </postConstruct> <postConstruct name="addRule"> <arg>webHtmlRule</arg> </postConstruct>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 29 08:21:02 GMT 2026 - 4.6K bytes - Click Count (0) -
internal/bucket/replication/replication_test.go
prefix: "miss/prefix", expectedNonRec: false, expectedRec: false, }, // case 2 - only one rule which matches prefix filter {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.4K bytes - Click Count (0) -
internal/bucket/replication/replication.go
continue } if rule.Filter.TestTags(obj.UserTags) { rules = append(rules, rule) } } sort.Slice(rules, func(i, j int) bool { return rules[i].Priority > rules[j].Priority && rules[i].Destination.String() == rules[j].Destination.String() }) return rules } // GetDestination returns destination bucket and storage class. func (c Config) GetDestination() Destination {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 8.9K bytes - Click Count (0) -
internal/bucket/encryption/bucket-sse-config_test.go
{ inputXML: `<ServerSideEncryptionConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Rule><ApplyServerSideEncryptionByDefault><SSEAlgorithm>AES256</SSEAlgorithm></ApplyServerSideEncryptionByDefault></Rule><Rule><ApplyServerSideEncryptionByDefault><SSEAlgorithm>AES256</SSEAlgorithm></ApplyServerSideEncryptionByDefault></Rule></ServerSideEncryptionConfiguration>`, expectedErr: errors.New("only one server-side encryption rule is allowed at a time"),Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 16 18:28:30 GMT 2022 - 6.1K bytes - Click Count (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')
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 09:42:21 GMT 2024 - 12.8K bytes - Click Count (0) -
internal/bucket/replication/rule_test.go
testCases := []struct { inputConfig string opts ObjectOpts expectedResult bool }{ // case 1 - rule with replica modification enabled; not a replica {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.6K bytes - Click Count (0) -
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) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 03 06:45:06 GMT 2025 - 18.2K bytes - Click Count (0)