Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SupportsAttributes (0.14 sec)

  1. plugin/pkg/admission/limitranger/interfaces.go

    	// ValidateLimits is a pluggable function to enforce limits on the object.
    	ValidateLimit(limitRange *corev1.LimitRange, kind string, obj runtime.Object) error
    	// SupportsAttributes is a pluggable function to allow overridding what resources the limitranger
    	// supports.
    	SupportsAttributes(attr admission.Attributes) bool
    	// SupportsLimit is a pluggable function to allow ignoring limits that should not be applied
    	// for any reason.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 18:00:06 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  2. plugin/pkg/admission/limitranger/admission.go

    	}
    	return nil
    }
    
    // SupportsAttributes ignores all calls that do not deal with pod resources or storage requests (PVCs).
    // Also ignores any call that has a subresource defined.
    func (d *DefaultLimitRangerActions) SupportsAttributes(a admission.Attributes) bool {
    	if a.GetSubresource() != "" {
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 13:04:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
Back to top