mock

package
v1.28.2 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 5 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 MockClientMap

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

MockClientMap is a mock of ClientMap interface.

func NewMockClientMap

func NewMockClientMap(ctrl *gomock.Controller) *MockClientMap

NewMockClientMap creates a new mock instance.

func (*MockClientMap) EXPECT

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

func (*MockClientMap) GetClient

GetClient mocks base method.

func (*MockClientMap) InvalidateClient

func (m *MockClientMap) InvalidateClient(arg0 clientmap.ClientSetKey) error

InvalidateClient mocks base method.

func (*MockClientMap) Start

func (m *MockClientMap) Start(arg0 <-chan struct{}) error

Start mocks base method.

type MockClientMapMockRecorder

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

MockClientMapMockRecorder is the mock recorder for MockClientMap.

func (*MockClientMapMockRecorder) GetClient

func (mr *MockClientMapMockRecorder) GetClient(arg0, arg1 interface{}) *gomock.Call

GetClient indicates an expected call of GetClient.

func (*MockClientMapMockRecorder) InvalidateClient

func (mr *MockClientMapMockRecorder) InvalidateClient(arg0 interface{}) *gomock.Call

InvalidateClient indicates an expected call of InvalidateClient.

func (*MockClientMapMockRecorder) Start

func (mr *MockClientMapMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start.

type MockClientSetFactory

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

MockClientSetFactory is a mock of ClientSetFactory interface.

func NewMockClientSetFactory

func NewMockClientSetFactory(ctrl *gomock.Controller) *MockClientSetFactory

NewMockClientSetFactory creates a new mock instance.

func (*MockClientSetFactory) CalculateClientSetHash

func (m *MockClientSetFactory) CalculateClientSetHash(arg0 context.Context, arg1 clientmap.ClientSetKey) (string, error)

CalculateClientSetHash mocks base method.

func (*MockClientSetFactory) EXPECT

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

func (*MockClientSetFactory) NewClientSet

NewClientSet mocks base method.

type MockClientSetFactoryMockRecorder

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

MockClientSetFactoryMockRecorder is the mock recorder for MockClientSetFactory.

func (*MockClientSetFactoryMockRecorder) CalculateClientSetHash

func (mr *MockClientSetFactoryMockRecorder) CalculateClientSetHash(arg0, arg1 interface{}) *gomock.Call

CalculateClientSetHash indicates an expected call of CalculateClientSetHash.

func (*MockClientSetFactoryMockRecorder) NewClientSet

func (mr *MockClientSetFactoryMockRecorder) NewClientSet(arg0, arg1 interface{}) *gomock.Call

NewClientSet indicates an expected call of NewClientSet.

Jump to

Keyboard shortcuts

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