Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for rules (0.04 sec)

  1. internal/event/rules.go

    		rulesCopy[pattern] = targetIDSet.Clone()
    	}
    
    	return rulesCopy
    }
    
    // Union - returns union with given rules as new rules.
    func (rules Rules) Union(rules2 Rules) Rules {
    	nrules := rules.Clone()
    
    	for pattern, targetIDSet := range rules2 {
    		nrules[pattern] = nrules[pattern].Union(targetIDSet)
    	}
    
    	return nrules
    }
    
    // Difference - returns difference with given rules as new rules.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. docs/bucket/replication/setup_ilm_expiry_replication.sh

    	exit 1
    fi
    
    ## Check if ILM expiry rules replicated
    sleep 30s
    
    ./mc ilm rule list siteb/bucket
    count=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules | length')
    if [ $count -ne 1 ]; then
    	echo "BUG: ILM expiry rules not replicated to 'siteb'"
    	exit 1
    fi
    
    ## Check replication of rules content
    expDays=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Expiration.Days')
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle_test.go

    					rules[5],
    				},
    			},
    			opts: ObjectOpts{
    				IsLatest: true,
    				UserTags: "key1=val1",
    				Name:     "obj-1",
    				Size:     1*humanize.MiByte - 1,
    			},
    			hasRules: true,
    		},
    		{ // PUT version with size based filters
    			lc: Lifecycle{
    				Rules: []Rule{
    					rules[1],
    					rules[2],
    					rules[3],
    					rules[4],
    					rules[5],
    				},
    			},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. cmd/batch-expire_gen.go

    				return
    			}
    		case "Rules":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Rules")
    				return
    			}
    			if cap(z.Rules) >= int(zb0002) {
    				z.Rules = (z.Rules)[:zb0002]
    			} else {
    				z.Rules = make([]BatchJobExpireFilter, zb0002)
    			}
    			for za0001 := range z.Rules {
    				err = z.Rules[za0001].DecodeMsg(dc)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy

    import gradlebuild.binarycompatibility.rules.KotlinModifiersBreakingChangeRule
    import gradlebuild.binarycompatibility.rules.MethodsRemovedInInternalSuperClassRule
    import gradlebuild.binarycompatibility.rules.NewIncubatingAPIRule
    import gradlebuild.binarycompatibility.rules.NullabilityBreakingChangesRule
    import gradlebuild.binarycompatibility.rules.SinceAnnotationMissingRule
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 11 17:15:16 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    val codenarcVersion = if (isAtLeastGroovy4) "3.1.0-groovy-4.0" else "3.1.0"
    
    dependencies {
        rules("gradlebuild:code-quality-rules") {
            because("Provides rules defined in XML files")
        }
        codenarc("gradlebuild:code-quality-rules") {
            because("Provides the IntegrationTestFixturesRule implementation")
        }
        codenarc("org.codenarc:CodeNarc:$codenarcVersion")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. architecture/ambient/peer-authentication.md

      mtls:
        mode: STRICT
      portLevelMtls:
        9090:
          mode: PERMISSIVE
    ```
    
    will be translated into this `Authorization`:
    
    ```yaml
    action: DENY
    groups:
    - rules:
      - matches:
        - notPrincipals:
          - presence: {}
    - rules:
      - matches:
        - notDestinationPorts:
          - 9090
    name: converted_peer_authentication_strict-and-permissive-mtls
    scope: WORKLOAD_SELECTOR
    ```
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top