kubernetes/staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics_test.go

var kind

var resource

var attr

func TestObserveAdmissionStep(t *testing.T) {}

func TestObserveAdmissionController(t *testing.T) {}

func TestObserveWebhook(t *testing.T) {}

func TestObserveWebhookRejection(t *testing.T) {}

func TestObserveWebhookFailOpen(t *testing.T) {}

func TestObserveMatchConditionEvalError(t *testing.T) {}

func TestObserveMatchConditionExclusion(t *testing.T) {}

func TestObserveMatchConditionEvaluationTime(t *testing.T) {}

func TestWithMetrics(t *testing.T) {}

type mutatingAndValidatingFakeHandler

func (h *mutatingAndValidatingFakeHandler) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) (err error) {}

func (h *mutatingAndValidatingFakeHandler) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) (err error) {}

type validatingFakeHandler

func (h *validatingFakeHandler) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) (err error) {}

type mutatingFakeHandler

func (h *mutatingFakeHandler) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) (err error) {}