Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rsJoin (0.08 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/rule.go

    }
    
    func rsJoin(requestResource, requestSubresource string) string {
    	seekString := requestResource
    	if requestSubresource != "" {
    		seekString = requestResource + "/" + requestSubresource
    	}
    	return seekString
    }
    
    func matchPolicyRuleResource(policyRuleRequestResources []string, requestResource, requestSubresource string) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. pkg/kube/krt/informer.go

    func (i *informer[I]) GetKey(k Key[I]) *I {
    	// ns, n := splitKeyFunc(string(k))
    	// Internal optimization: we know kclient will eventually lookup "ns/name"
    	// We also have a key in this format.
    	// Rather than split and rejoin it later, just pass it as the name
    	// This is depending on "unstable" implementation details, but we own both libraries and tests would catch any issues.
    	if got := i.inf.Get(string(k), ""); !controllers.IsNil(got) {
    		return &got
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 11:01:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top