Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for ResourcePolicyRule (0.41 sec)

  1. staging/src/k8s.io/api/flowcontrol/v1beta2/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyRule.
    func (in *ResourcePolicyRule) DeepCopy() *ResourcePolicyRule {
    	if in == nil {
    		return nil
    	}
    	out := new(ResourcePolicyRule)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/flowcontrol/v1/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyRule.
    func (in *ResourcePolicyRule) DeepCopy() *ResourcePolicyRule {
    	if in == nil {
    		return nil
    	}
    	out := new(ResourcePolicyRule)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:41 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/rule.go

    }
    
    func matchesAResourceRule(ri *request.RequestInfo, rules []flowcontrol.ResourcePolicyRule) bool {
    	for _, rr := range rules {
    		if matchesResourcePolicyRule(ri, rr) {
    			return true
    		}
    	}
    	return false
    }
    
    func matchesResourcePolicyRule(ri *request.RequestInfo, policyRule flowcontrol.ResourcePolicyRule) bool {
    	if !matchPolicyRuleVerb(policyRule.Verbs, ri.Verb) {
    		return false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/flowcontrol/v1beta2/generated.pb.go

    func (m *ResourcePolicyRule) Reset()      { *m = ResourcePolicyRule{} }
    func (*ResourcePolicyRule) ProtoMessage() {}
    func (*ResourcePolicyRule) Descriptor() ([]byte, []int) {
    	return fileDescriptor_2e620af2eea53237, []int{19}
    }
    func (m *ResourcePolicyRule) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ResourcePolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go

    }
    
    // genResourceRule randomly generates a valid ResourcePolicyRule and lists
    // of matching and non-matching `*request.RequestInfo`.
    func genResourceRule(rng *rand.Rand, pfx string, mayMatchClusterScope, matchAllResources, someMatchesAllResources bool) (flowcontrol.ResourcePolicyRule, []*request.RequestInfo, []*request.RequestInfo) {
    	namespaces := []string{pfx + "-n1", pfx + "-n2", pfx + "-n3"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/flowcontrol/v1beta1/generated.pb.go

    func (m *ResourcePolicyRule) Reset()      { *m = ResourcePolicyRule{} }
    func (*ResourcePolicyRule) ProtoMessage() {}
    func (*ResourcePolicyRule) Descriptor() ([]byte, []int) {
    	return fileDescriptor_3a5cb22a034fcb2a, []int{19}
    }
    func (m *ResourcePolicyRule) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ResourcePolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      // not specified, it will be defaulted to 50.
      // +optional
      optional int32 queueLengthLimit = 3;
    }
    
    // ResourcePolicyRule is a predicate that matches some resource
    // requests, testing the request's verb and the target resource. A
    // ResourcePolicyRule matches a resource request if and only if: (a)
    // at least one member of verbs matches the request, (b) at least one
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/flowcontrol/v1beta3/generated.pb.go

    func (m *ResourcePolicyRule) Reset()      { *m = ResourcePolicyRule{} }
    func (*ResourcePolicyRule) ProtoMessage() {}
    func (*ResourcePolicyRule) Descriptor() ([]byte, []int) {
    	return fileDescriptor_52ab6629c083d251, []int{19}
    }
    func (m *ResourcePolicyRule) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ResourcePolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 141.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/flowcontrol/v1/generated.pb.go

    func (m *ResourcePolicyRule) Reset()      { *m = ResourcePolicyRule{} }
    func (*ResourcePolicyRule) ProtoMessage() {}
    func (*ResourcePolicyRule) Descriptor() ([]byte, []int) {
    	return fileDescriptor_5d08a1401821035d, []int{19}
    }
    func (m *ResourcePolicyRule) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ResourcePolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 141.8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      // not specified, it will be defaulted to 50.
      // +optional
      optional int32 queueLengthLimit = 3;
    }
    
    // ResourcePolicyRule is a predicate that matches some resource
    // requests, testing the request's verb and the target resource. A
    // ResourcePolicyRule matches a resource request if and only if: (a)
    // at least one member of verbs matches the request, (b) at least one
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top