- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetCompiledMatcher (0.53 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go
GetConfigurationName() string // GetRESTClient gets the webhook client GetRESTClient(clientManager *webhookutil.ClientManager) (*rest.RESTClient, error) // GetCompiledMatcher gets the compiled matcher object GetCompiledMatcher(compiler cel.FilterCompiler) matchconditions.Matcher // GetName gets the webhook Name field. Note that the name is scoped to the webhook
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 12.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go
if len(matchConditions) > 0 { versionedAttr, err := v.VersionedAttribute(invocation.Kind) if err != nil { return nil, apierrors.NewInternalError(err) } matcher := h.GetCompiledMatcher(a.filterCompiler) matchResult := matcher.Match(ctx, versionedAttr, nil, a.authorizer) if matchResult.Error != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 9.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook_test.go
} } var _ webhook.WebhookAccessor = &fakeWebhookAccessor{} type fakeWebhookAccessor struct { webhook.WebhookAccessor throwError error matchResult bool } func (f *fakeWebhookAccessor) GetCompiledMatcher(compiler cel.FilterCompiler) matchconditions.Matcher { return &fakeMatcher{ throwError: f.throwError, matchResult: f.matchResult, } } var _ VersionedAttributeAccessor = &fakeVersionedAttributeAccessor{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 28 19:30:04 UTC 2023 - 32K bytes - Viewed (0)