Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 710 for nrules (0.19 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.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    		} else {
    			rMap[id] = rl
    		}
    	}
    
    	var rules []lifecycle.Rule
    	for _, rule := range rMap {
    		rules = append(rules, rule)
    	}
    
    	// no rules, return
    	if len(rules) == 0 {
    		return []byte{}, nil
    	}
    
    	// get final list for write
    	finalLcCfg := lifecycle.Lifecycle{
    		XMLName:         xmlName,
    		Rules:           rules,
    		ExpiryUpdatedAt: &updatedAt,
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  3. internal/event/rules_test.go

    	rulesCase2 := make(Rules)
    	rules2Case2 := make(Rules)
    	rules2Case2.Add(NewPattern("*", ""), TargetID{"1", "webhook"})
    	expectedResultCase2 := make(Rules)
    	expectedResultCase2.Add(NewPattern("*", ""), TargetID{"1", "webhook"})
    
    	rulesCase3 := make(Rules)
    	rulesCase3.Add(NewPattern("", "*"), TargetID{"1", "webhook"})
    	rules2Case3 := make(Rules)
    	expectedResultCase3 := make(Rules)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.8K bytes
    - Viewed (0)
  4. android-test-app/proguard-rules.pro

    # no rules should be needed...
    Others
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 28 bytes
    - Viewed (0)
  5. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  6. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. 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"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 24 23:22:20 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/rule.go

    	}
    	if !r.Prefix.set {
    		return r.Filter.Validate()
    	}
    	return nil
    }
    
    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
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 17:48:06 GMT 2023
    - 5K bytes
    - Viewed (0)
  9. internal/bucket/replication/replication_test.go

    		{ObjectOpts{Name: "xyz/c3test", DeleteMarker: true, OpType: DeleteReplicationType}, cfgs[2], true},                                      // 24. matches rule 2 - DeleteMarker replication allowed by rule
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/authorization/v1beta1/generated.proto

      // Incomplete is true when the rules returned by this call are incomplete. This is most commonly
      // encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.
      optional bool incomplete = 3;
    
      // EvaluationError can appear in combination with Rules. It indicates an error occurred during
      // rule evaluation, such as an authorizer that doesn't support rule evaluation, and that
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top