mock

package
v1.0.25 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 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 MockListener

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

MockListener is a mock of Listener interface.

func NewMockListener

func NewMockListener(ctrl *gomock.Controller) *MockListener

NewMockListener creates a new mock instance.

func (*MockListener) EXPECT

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

func (*MockListener) GetNamespace

func (m *MockListener) GetNamespace(namespace string) (interface{}, bool)

GetNamespace mocks base method.

func (*MockListener) InitConfig

func (m *MockListener) InitConfig(client agollo.Client, namespaceStruct map[string]interface{})

InitConfig mocks base method.

func (*MockListener) OnChange

func (m *MockListener) OnChange(event *storage.ChangeEvent)

OnChange mocks base method.

func (*MockListener) OnNewestChange

func (m *MockListener) OnNewestChange(event *storage.FullChangeEvent)

OnNewestChange mocks base method.

type MockListenerMockRecorder

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

MockListenerMockRecorder is the mock recorder for MockListener.

func (*MockListenerMockRecorder) GetNamespace

func (mr *MockListenerMockRecorder) GetNamespace(namespace interface{}) *gomock.Call

GetNamespace indicates an expected call of GetNamespace.

func (*MockListenerMockRecorder) InitConfig

func (mr *MockListenerMockRecorder) InitConfig(client, namespaceStruct interface{}) *gomock.Call

InitConfig indicates an expected call of InitConfig.

func (*MockListenerMockRecorder) OnChange

func (mr *MockListenerMockRecorder) OnChange(event interface{}) *gomock.Call

OnChange indicates an expected call of OnChange.

func (*MockListenerMockRecorder) OnNewestChange

func (mr *MockListenerMockRecorder) OnNewestChange(event interface{}) *gomock.Call

OnNewestChange indicates an expected call of OnNewestChange.

Jump to

Keyboard shortcuts

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