metrics

package
Version: v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

type Recorder struct {
	mock.Mock
}

Recorder is an autogenerated mock type for the Recorder type

func (*Recorder) IncAdmissionReview

func (_m *Recorder) IncAdmissionReview(webhook string, namespace string, resource string, operation v1beta1.Operation, kind metrics.ReviewKind)

IncAdmissionReview provides a mock function with given fields: webhook, namespace, resource, operation, kind

func (*Recorder) IncAdmissionReviewError

func (_m *Recorder) IncAdmissionReviewError(webhook string, namespace string, resource string, operation v1beta1.Operation, kind metrics.ReviewKind)

IncAdmissionReviewError provides a mock function with given fields: webhook, namespace, resource, operation, kind

func (*Recorder) IncValidationReviewResult added in v0.11.0

func (_m *Recorder) IncValidationReviewResult(webhook string, namespace string, resource string, operation v1beta1.Operation, allowed bool)

IncValidationReviewResult provides a mock function with given fields: webhook, namespace, resource, operation, kind

func (*Recorder) ObserveAdmissionReviewDuration

func (_m *Recorder) ObserveAdmissionReviewDuration(webhook string, namespace string, resource string, operation v1beta1.Operation, kind metrics.ReviewKind, startTime time.Time)

ObserveAdmissionReviewDuration provides a mock function with given fields: webhook, namespace, resource, operation, kind, startTime

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL