mock

package
v0.0.0-...-d606306 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSink

type MockSink struct {
	// contains filtered or unexported fields
}

MockSink is a mock of Sink interface

func NewMockSink

func NewMockSink(ctrl *gomock.Controller) *MockSink

NewMockSink creates a new mock instance

func (*MockSink) Complete

func (m *MockSink) Complete(arg0 string, arg1 logr.CompletionStatus, arg2 time.Duration, arg3 logr.KV)

Complete mocks base method

func (*MockSink) EXPECT

func (m *MockSink) EXPECT() *MockSinkMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSink) Error

func (m *MockSink) Error(arg0, arg1 string, arg2 error, arg3 logr.KV)

Error mocks base method

func (*MockSink) Event

func (m *MockSink) Event(arg0, arg1 string, arg2 logr.KV)

Event mocks base method

func (*MockSink) Gauge

func (m *MockSink) Gauge(arg0, arg1 string, arg2 float64, arg3 logr.KV)

Gauge mocks base method

func (*MockSink) Timing

func (m *MockSink) Timing(arg0, arg1 string, arg2 time.Duration, arg3 logr.KV)

Timing mocks base method

type MockSinkMockRecorder

type MockSinkMockRecorder struct {
	// contains filtered or unexported fields
}

MockSinkMockRecorder is the mock recorder for MockSink

func (*MockSinkMockRecorder) Complete

func (mr *MockSinkMockRecorder) Complete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Complete indicates an expected call of Complete

func (*MockSinkMockRecorder) Error

func (mr *MockSinkMockRecorder) Error(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Error indicates an expected call of Error

func (*MockSinkMockRecorder) Event

func (mr *MockSinkMockRecorder) Event(arg0, arg1, arg2 interface{}) *gomock.Call

Event indicates an expected call of Event

func (*MockSinkMockRecorder) Gauge

func (mr *MockSinkMockRecorder) Gauge(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Gauge indicates an expected call of Gauge

func (*MockSinkMockRecorder) Timing

func (mr *MockSinkMockRecorder) Timing(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Timing indicates an expected call of Timing

Jump to

Keyboard shortcuts

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