Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 96 for matchConditions (0.2 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    }
    
    // newWithBackoff allows tests to skip the sleep.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go

    	ConnectionInfo WebhookConnectionInfo
    
    	// matchConditions is a list of conditions that must be met for a request to be sent to this
    	// webhook. An empty list of matchConditions matches all requests.
    	// There are a maximum of 64 match conditions allowed.
    	//
    	// The exact matching logic is (in order):
    	//   1. If at least one matchCondition evaluates to FALSE, then the webhook is skipped.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. pkg/apis/admissionregistration/validation/validation.go

    			if conditionNames.Has(matchCondition.Name) {
    				allErrors = append(allErrors, field.Duplicate(fldPath.Index(i).Child("name"), matchCondition.Name))
    			} else {
    				conditionNames.Insert(matchCondition.Name)
    			}
    		}
    	}
    	return allErrors
    }
    
    func validateMatchCondition(v *admissionregistration.MatchCondition, opts validationOptions, fldPath *field.Path) field.ErrorList {
    	var allErrors field.ErrorList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authorization/cel/metrics.go

    	"time"
    
    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    // MatcherMetrics defines methods for reporting matchCondition metrics
    type MatcherMetrics interface {
    	// RecordAuthorizationMatchConditionEvaluation records the total time taken to evaluate matchConditions for an Authorize() call to the given authorizer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1/zz_generated.deepcopy.go

    func (in *MatchCondition) DeepCopyInto(out *MatchCondition) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchCondition.
    func (in *MatchCondition) DeepCopy() *MatchCondition {
    	if in == nil {
    		return nil
    	}
    	out := new(MatchCondition)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    		allErrs = append(allErrs, field.Invalid(fldPath.Child("matchConditions"), "", "matchConditions are not supported when StructuredAuthorizationConfiguration feature gate is disabled"))
    	}
    	if len(matchConditions) > 64 {
    		allErrs = append(allErrs, field.TooMany(fldPath.Child("matchConditions"), len(matchConditions), 64))
    		return nil, allErrs
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/v1beta1/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1beta1.MatchCondition)(nil), (*admissionregistration.MatchCondition)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_MatchCondition_To_admissionregistration_MatchCondition(a.(*v1beta1.MatchCondition), b.(*admissionregistration.MatchCondition), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 20:56:23 UTC 2023
    - 73K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // +listMapKey=name
      // +optional
      repeated MatchCondition matchConditions = 6;
    
      // Variables contain definitions of variables that can be used in composition of other expressions.
      // Each variable is defined as a named CEL expression.
      // The variables defined here will be available under `variables` in other expressions of the policy
      // except MatchConditions because MatchConditions are evaluated before the rest of the policy.
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator.go

    	"k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions"
    	celconfig "k8s.io/apiserver/pkg/apis/cel"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	apiservercel "k8s.io/apiserver/pkg/cel"
    	"k8s.io/klog/v2"
    )
    
    // validator implements the Validator interface
    type validator struct {
    	celMatcher            matchconditions.Matcher
    	validationFilter      cel.Filter
    	auditAnnotationFilter cel.Filter
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 23:31:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top