Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetEquivalentResourceMapper (0.39 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/util.go

    	return r.ObjectDefaulter
    }
    func (r *RuntimeObjectInterfaces) GetObjectConvertor() runtime.ObjectConvertor {
    	return r.ObjectConvertor
    }
    func (r *RuntimeObjectInterfaces) GetEquivalentResourceMapper() runtime.EquivalentResourceMapper {
    	return r.EquivalentResourceMapper
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 18:26:06 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching.go

    		return false, schema.GroupVersionResource{}, schema.GroupVersionKind{}, nil
    	}
    
    	attrWithOverride := &attrWithResourceOverride{Attributes: attr}
    	equivalents := o.GetEquivalentResourceMapper().EquivalentResourcesFor(attr.GetResource(), attr.GetSubresource())
    	for _, namedRule := range namedRules {
    		for _, equivalent := range equivalents {
    			if equivalent == attr.GetResource() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/interfaces.go

    	// GetObjectConvertor is the ObjectConvertor appropriate for the requested object.
    	GetObjectConvertor() runtime.ObjectConvertor
    	// GetEquivalentResourceMapper is the EquivalentResourceMapper appropriate for finding equivalent resources and expected kind for the requested object.
    	GetEquivalentResourceMapper() runtime.EquivalentResourceMapper
    }
    
    // privateAnnotationsGetter is a private interface which allows users to get annotations from Attributes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 28 14:03:18 UTC 2021
    - 8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    			}
    			break
    		}
    	}
    	if invocation == nil && h.GetMatchPolicy() != nil && *h.GetMatchPolicy() == v1.Equivalent {
    		attrWithOverride := &attrWithResourceOverride{Attributes: attr}
    		equivalents := o.GetEquivalentResourceMapper().EquivalentResourcesFor(attr.GetResource(), attr.GetSubresource())
    		// honor earlier rules first
    	OuterLoop:
    		for _, r := range h.GetRules() {
    			// see if the rule matches any of the equivalent resources
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go

    func (r *RequestScope) GetObjectDefaulter() runtime.ObjectDefaulter { return r.Defaulter }
    func (r *RequestScope) GetObjectConvertor() runtime.ObjectConvertor { return r.Convertor }
    func (r *RequestScope) GetEquivalentResourceMapper() runtime.EquivalentResourceMapper {
    	return r.EquivalentResourceMapper
    }
    
    // ConnectResource returns a function that handles a connect request on a rest.Storage object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top