Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for webhookmetrics (0.14 sec)

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

    		},
    		[]string{"name", "result"},
    	)
    )
    
    type webhookMetrics struct{}
    
    func NewWebhookMetrics() WebhookMetrics {
    	RegisterWebhookMetrics()
    	return webhookMetrics{}
    }
    
    func ResetWebhookMetricsForTest() {
    	webhookEvaluations.Reset()
    	webhookDuration.Reset()
    	webhookFailOpen.Reset()
    }
    
    func (webhookMetrics) RecordWebhookEvaluation(ctx context.Context, name, result string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory/metrics.go

    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{"code"},
    	)
    )
    
    var _ = webhookmetrics.AuthorizerMetrics(delegatingAuthorizerMetrics{})
    
    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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/authorizer/reload.go

    }
    
    type kubeapiserverWebhookMetrics struct {
    	// kube-apiserver doesn't report request metrics
    	webhookmetrics.NoopRequestMetrics
    	// kube-apiserver does report webhook metrics
    	webhookmetrics.WebhookMetrics
    	// kube-apiserver does report matchCondition metrics
    	cel.MatcherMetrics
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top