Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for rule2 (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/batch-expire.go

    			}
    		}
    		return err
    	}
    
    	if len(r.Rules) > maxBatchRules {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    "Too many rules. Batch expire job can't have more than 100 rules",
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	for _, rule := range r.Rules {
    		if err := rule.Validate(); err != nil {
    			return batchExpireJobError{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. cni/pkg/iptables/iptables.go

    	// Append our rules here
    	builder := cfg.appendHostRules(hostSNATIP, hostSNATIPV6)
    
    	log.Info("Adding host netnamespace iptables rules")
    
    	if err := cfg.executeCommands(log.WithLabels("component", "host"), builder); err != nil {
    		log.Errorf("failed to add host netnamespace iptables rules: %v", err)
    		return err
    	}
    	return nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. docs/bucket/lifecycle/setup_ilm_transition.sh

    sleep 10s
    
    ## Add warm tier
    ./mc ilm tier add minio sitea WARM-TIER --endpoint http://localhost:9004 --access-key minioadmin --secret-key minioadmin --bucket bucket
    
    ## Add ILM rules
    ./mc ilm add sitea/bucket --transition-days 0 --transition-tier WARM-TIER
    ./mc ilm rule list sitea/bucket
    
    ./mc cp README.md sitea/bucket/README.md
    
    until $(./mc stat sitea/bucket/README.md --json | jq -r '.metadata."X-Amz-Storage-Class"' | grep -q WARM-TIER); do
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. manifests/charts/base/files/crd-all.gen.yaml

                          - message: must be a valid duration greater than 1ms
                            rule: duration(self) >= duration('1ms')
                      type: object
                    type: array
                  tcp:
                    description: An ordered list of route rules for opaque TCP traffic.
                    items:
                      properties:
                        match:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
  8. cmd/bucket-metadata-sys.go

    			var lcCfg lifecycle.Lifecycle
    			if err := xml.Unmarshal(meta.LifecycleConfigXML, &lcCfg); err != nil {
    				return updatedAt, err
    			}
    			// find a single expiry rule set the flag
    			for _, rl := range lcCfg.Rules {
    				if !rl.Expiration.IsNull() || !rl.NoncurrentVersionExpiration.IsNull() {
    					expiryRuleRemoved = true
    					break
    				}
    			}
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    	ss := re.FindStringSubmatch(path)
    	if ss == nil {
    		return "", "", fmt.Errorf("not a DR path: %s", path)
    	}
    	return ss[3], ss[2], nil
    }
    
    // getIstioDestinationRulePathForSvc returns something like "/apis/networking/v1alpha3/namespaces/default/destination-rule/reviews"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  10. 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)
Back to top