- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for MatchCondition (0.21 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go
m.compileMatcher.Do(func() { expressions := make([]cel.ExpressionAccessor, len(m.MutatingWebhook.MatchConditions)) for i, matchCondition := range m.MutatingWebhook.MatchConditions { expressions[i] = &matchconditions.MatchCondition{ Name: matchCondition.Name, Expression: matchCondition.Expression, } } strictCost := false if utilfeature.DefaultFeatureGate.Enabled(features.StrictCostEnforcementForWebhooks) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 12.4K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation_test.go
} } }) } } func get65MatchConditions() []admissionregistration.MatchCondition { result := []admissionregistration.MatchCondition{} for i := 0; i < 65; i++ { result = append(result, admissionregistration.MatchCondition{ Name: fmt.Sprintf("test%v", i), Expression: "true", }) } return result
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 147.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/cel/matcher.go
Metrics MatcherMetrics AuthorizerType string AuthorizerName string } // eval evaluates the given SubjectAccessReview against all cel matchCondition expression func (c *CELMatcher) Eval(ctx context.Context, r *authorizationv1.SubjectAccessReview) (bool, error) { var evalErrors []error metrics := c.Metrics if metrics == nil { metrics = NoopMatcherMetrics{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 22:41:27 UTC 2024 - 2.9K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/cluster_patch_test.go
"istio.io/istio/pilot/pkg/util/protoconv" "istio.io/istio/pkg/config/host" ) func Test_clusterMatch(t *testing.T) { type args struct { proxy *model.Proxy cluster *cluster.Cluster matchCondition *networking.EnvoyFilter_EnvoyConfigObjectMatch operation networking.EnvoyFilter_Patch_Operation host host.Name } tests := []struct { name string args args want bool }{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 20.7K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1/zz_generated.conversion.go
}); err != nil { return err } if err := s.AddGeneratedConversionFunc((*v1.MatchCondition)(nil), (*admissionregistration.MatchCondition)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_MatchCondition_To_admissionregistration_MatchCondition(a.(*v1.MatchCondition), b.(*admissionregistration.MatchCondition), scope) }); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 05:46:30 UTC 2024 - 73.6K bytes - Viewed (0) -
common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto
// Package-wide variables from generator "generated". option go_package = "k8s.io/api/admissionregistration/v1beta1"; // MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook. message MatchCondition { // Name is an identifier for this match condition, used for strategic merging of MatchConditions,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 22.6K bytes - Viewed (0) -
common-protos/k8s.io/api/admissionregistration/v1/generated.proto
// Package-wide variables from generator "generated". option go_package = "k8s.io/api/admissionregistration/v1"; // MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. message MatchCondition { // Name is an identifier for this match condition, used for strategic merging of MatchConditions,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 24.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/cel/metrics.go
*/ package cel import ( "context" "sync" "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) -
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) -
staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory/metrics.go
type delegatingAuthorizerMetrics struct { // no-op for webhook metrics for now, delegating authorization reports original total/latency metrics webhookmetrics.NoopWebhookMetrics // no-op for matchCondition metrics for now, delegating authorization doesn't configure match conditions celmetrics.NoopMatcherMetrics } func NewDelegatingAuthorizerMetrics() delegatingAuthorizerMetrics { RegisterMetrics()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 2.8K bytes - Viewed (0)