Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 616 for rule2 (0.19 sec)

  1. 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. 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')
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. internal/event/config.go

    	nameSet := set.NewStringSet()
    	for _, rule := range rules.Rules {
    		if nameSet.Contains(rule.Name) {
    			if rule.Name == "prefix" {
    				return &ErrFilterNamePrefix{}
    			}
    
    			return &ErrFilterNameSuffix{}
    		}
    
    		nameSet.Add(rule.Name)
    	}
    
    	*ruleList = FilterRuleList(rules)
    	return nil
    }
    
    func (ruleList FilterRuleList) isEmpty() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle.go

    		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)
    	}
    	return rules
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. cni/pkg/iptables/iptables_linux.go

    		inpodMarkRule.Mark = InpodTProxyMark
    		inpodMarkRule.Mask = InpodTProxyMask
    		inpodMarkRule.Priority = 32764
    		rules = append(rules, inpodMarkRule)
    	}
    
    	for _, rule := range rules {
    		log.Debugf("Iterating 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 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. 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"),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 16 18:28:30 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/rbac/v1alpha1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Rules holds all the PolicyRules for this ClusterRole
      // +optional
      repeated PolicyRule rules = 2;
    
      // AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
      // If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be
      // stomped by the controller.
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/rbac/v1beta1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Rules holds all the PolicyRules for this ClusterRole
      // +optional
      repeated PolicyRule rules = 2;
    
      // AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
      // If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be
      // stomped by the controller.
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. internal/bucket/encryption/bucket-sse-config.go

    		return nil, errors.New("only one server-side encryption rule is allowed at a time")
    	}
    
    	for _, rule := range config.Rules {
    		switch rule.DefaultEncryptionAction.Algorithm {
    		case AES256:
    			if rule.DefaultEncryptionAction.MasterKeyID != "" {
    				return nil, errors.New("MasterKeyID is allowed with aws:kms only")
    			}
    		case AWSKms:
    			keyID := rule.DefaultEncryptionAction.MasterKeyID
    			if keyID == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  10. src/main/config/es/fess_config_boost_document_rule.json

    {
      "fess_config.boost_document_rule" : {
        "aliases" : { },
        "mappings" : {
          "boost_document_rule" : {
            "properties" : {
              "boostExpr" : {
                "type" : "keyword"
              },
              "createdBy" : {
                "type" : "keyword"
              },
              "createdTime" : {
                "type" : "long"
              },
              "sortOrder" : {
                "type" : "integer"
              },
    Json
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 987 bytes
    - Viewed (0)
Back to top