mock_client

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) Close

func (m *MockClient) Close()

Close mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetName

func (m *MockClient) GetName() string

GetName mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Close

func (mr *MockClientMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockClientMockRecorder) GetName

func (mr *MockClientMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName

type MockRequestCounter

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

MockRequestCounter is a mock of RequestCounter interface

func NewMockRequestCounter

func NewMockRequestCounter(ctrl *gomock.Controller) *MockRequestCounter

NewMockRequestCounter creates a new mock instance

func (*MockRequestCounter) EXPECT

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

func (*MockRequestCounter) GetCounter

func (m *MockRequestCounter) GetCounter() uint64

GetCounter mocks base method

func (*MockRequestCounter) IncrementCounter

func (m *MockRequestCounter) IncrementCounter()

IncrementCounter mocks base method

func (*MockRequestCounter) InitCounter

func (m *MockRequestCounter) InitCounter()

InitCounter mocks base method

type MockRequestCounterMockRecorder

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

MockRequestCounterMockRecorder is the mock recorder for MockRequestCounter

func (*MockRequestCounterMockRecorder) GetCounter

func (mr *MockRequestCounterMockRecorder) GetCounter() *gomock.Call

GetCounter indicates an expected call of GetCounter

func (*MockRequestCounterMockRecorder) IncrementCounter

func (mr *MockRequestCounterMockRecorder) IncrementCounter() *gomock.Call

IncrementCounter indicates an expected call of IncrementCounter

func (*MockRequestCounterMockRecorder) InitCounter

func (mr *MockRequestCounterMockRecorder) InitCounter() *gomock.Call

InitCounter indicates an expected call of InitCounter

Jump to

Keyboard shortcuts

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