mock

package
v1.38.4 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 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 MockChecker

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

MockChecker is a mock of Checker interface.

func NewMockChecker

func NewMockChecker(ctrl *gomock.Controller) *MockChecker

NewMockChecker creates a new mock instance.

func (*MockChecker) Check

func (m *MockChecker) Check(arg0 context.Context) (bool, error)

Check mocks base method.

func (*MockChecker) EXPECT

func (m *MockChecker) EXPECT() *MockCheckerMockRecorder

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

type MockCheckerFactory

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

MockCheckerFactory is a mock of CheckerFactory interface.

func NewMockCheckerFactory

func NewMockCheckerFactory(ctrl *gomock.Controller) *MockCheckerFactory

NewMockCheckerFactory creates a new mock instance.

func (*MockCheckerFactory) EXPECT

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

func (*MockCheckerFactory) NewChecker

func (m *MockCheckerFactory) NewChecker(arg0 context.Context, arg1 client.Client, arg2, arg3 string) (common.Checker, error)

NewChecker mocks base method.

type MockCheckerFactoryMockRecorder

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

MockCheckerFactoryMockRecorder is the mock recorder for MockCheckerFactory.

func (*MockCheckerFactoryMockRecorder) NewChecker

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

NewChecker indicates an expected call of NewChecker.

type MockCheckerMockRecorder

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

MockCheckerMockRecorder is the mock recorder for MockChecker.

func (*MockCheckerMockRecorder) Check

func (mr *MockCheckerMockRecorder) Check(arg0 interface{}) *gomock.Call

Check indicates an expected call of Check.

type MockResolver

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

MockResolver is a mock of Resolver interface.

func NewMockResolver

func NewMockResolver(ctrl *gomock.Controller) *MockResolver

NewMockResolver creates a new mock instance.

func (*MockResolver) EXPECT

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

func (*MockResolver) LookupTXT

func (m *MockResolver) LookupTXT(arg0 context.Context, arg1 string) ([]string, error)

LookupTXT mocks base method.

type MockResolverMockRecorder

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

MockResolverMockRecorder is the mock recorder for MockResolver.

func (*MockResolverMockRecorder) LookupTXT

func (mr *MockResolverMockRecorder) LookupTXT(arg0, arg1 interface{}) *gomock.Call

LookupTXT indicates an expected call of LookupTXT.

type MockWatchdog

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

MockWatchdog is a mock of Watchdog interface.

func NewMockWatchdog

func NewMockWatchdog(ctrl *gomock.Controller) *MockWatchdog

NewMockWatchdog creates a new mock instance.

func (*MockWatchdog) AddContext

func (m *MockWatchdog) AddContext(arg0 context.Context, arg1 string) (context.Context, bool)

AddContext mocks base method.

func (*MockWatchdog) EXPECT

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

func (*MockWatchdog) RemoveContext

func (m *MockWatchdog) RemoveContext(arg0 string) bool

RemoveContext mocks base method.

func (*MockWatchdog) Result

func (m *MockWatchdog) Result() (bool, error)

Result mocks base method.

func (*MockWatchdog) Start

func (m *MockWatchdog) Start(arg0 context.Context)

Start mocks base method.

func (*MockWatchdog) Stop

func (m *MockWatchdog) Stop()

Stop mocks base method.

type MockWatchdogFactory

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

MockWatchdogFactory is a mock of WatchdogFactory interface.

func NewMockWatchdogFactory

func NewMockWatchdogFactory(ctrl *gomock.Controller) *MockWatchdogFactory

NewMockWatchdogFactory creates a new mock instance.

func (*MockWatchdogFactory) EXPECT

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

func (*MockWatchdogFactory) NewWatchdog

func (m *MockWatchdogFactory) NewWatchdog(arg0 context.Context, arg1 client.Client, arg2, arg3 string) (common.Watchdog, error)

NewWatchdog mocks base method.

type MockWatchdogFactoryMockRecorder

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

MockWatchdogFactoryMockRecorder is the mock recorder for MockWatchdogFactory.

func (*MockWatchdogFactoryMockRecorder) NewWatchdog

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

NewWatchdog indicates an expected call of NewWatchdog.

type MockWatchdogManager

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

MockWatchdogManager is a mock of WatchdogManager interface.

func NewMockWatchdogManager

func NewMockWatchdogManager(ctrl *gomock.Controller) *MockWatchdogManager

NewMockWatchdogManager creates a new mock instance.

func (*MockWatchdogManager) EXPECT

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

func (*MockWatchdogManager) GetResultAndContext

func (m *MockWatchdogManager) GetResultAndContext(arg0 context.Context, arg1 client.Client, arg2, arg3, arg4 string) (bool, context.Context, func(), error)

GetResultAndContext mocks base method.

type MockWatchdogManagerMockRecorder

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

MockWatchdogManagerMockRecorder is the mock recorder for MockWatchdogManager.

func (*MockWatchdogManagerMockRecorder) GetResultAndContext

func (mr *MockWatchdogManagerMockRecorder) GetResultAndContext(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GetResultAndContext indicates an expected call of GetResultAndContext.

type MockWatchdogMockRecorder

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

MockWatchdogMockRecorder is the mock recorder for MockWatchdog.

func (*MockWatchdogMockRecorder) AddContext

func (mr *MockWatchdogMockRecorder) AddContext(arg0, arg1 interface{}) *gomock.Call

AddContext indicates an expected call of AddContext.

func (*MockWatchdogMockRecorder) RemoveContext

func (mr *MockWatchdogMockRecorder) RemoveContext(arg0 interface{}) *gomock.Call

RemoveContext indicates an expected call of RemoveContext.

func (*MockWatchdogMockRecorder) Result

func (mr *MockWatchdogMockRecorder) Result() *gomock.Call

Result indicates an expected call of Result.

func (*MockWatchdogMockRecorder) Start

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

Start indicates an expected call of Start.

func (*MockWatchdogMockRecorder) Stop

func (mr *MockWatchdogMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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