metrics

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2018 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) 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

Jump to

Keyboard shortcuts

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