mock

package
v0.0.0-...-ea35677 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: Apache-2.0 Imports: 2 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 MockFeatureChecker

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

MockFeatureChecker is a mock of FeatureChecker interface.

func NewMockFeatureChecker

func NewMockFeatureChecker(ctrl *gomock.Controller) *MockFeatureChecker

NewMockFeatureChecker creates a new mock instance.

func (*MockFeatureChecker) Available

func (m *MockFeatureChecker) Available(method string) bool

Available mocks base method.

func (*MockFeatureChecker) EXPECT

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

type MockFeatureCheckerMockRecorder

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

MockFeatureCheckerMockRecorder is the mock recorder for MockFeatureChecker.

func (*MockFeatureCheckerMockRecorder) Available

func (mr *MockFeatureCheckerMockRecorder) Available(method interface{}) *gomock.Call

Available indicates an expected call of Available.

type MockForwardChecker

type MockForwardChecker[T any] struct {
	// contains filtered or unexported fields
}

MockForwardChecker is a mock of ForwardChecker interface.

func NewMockForwardChecker

func NewMockForwardChecker[T any](ctrl *gomock.Controller) *MockForwardChecker[T]

NewMockForwardChecker creates a new mock instance.

func (*MockForwardChecker[T]) EXPECT

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

func (*MockForwardChecker[T]) IsLeader

func (m *MockForwardChecker[T]) IsLeader() bool

IsLeader mocks base method.

func (*MockForwardChecker[T]) LeaderClient

func (m *MockForwardChecker[T]) LeaderClient() (T, error)

LeaderClient mocks base method.

func (*MockForwardChecker[T]) LeaderOnly

func (m *MockForwardChecker[T]) LeaderOnly(method string) bool

LeaderOnly mocks base method.

type MockForwardCheckerMockRecorder

type MockForwardCheckerMockRecorder[T any] struct {
	// contains filtered or unexported fields
}

MockForwardCheckerMockRecorder is the mock recorder for MockForwardChecker.

func (*MockForwardCheckerMockRecorder[T]) IsLeader

func (mr *MockForwardCheckerMockRecorder[T]) IsLeader() *gomock.Call

IsLeader indicates an expected call of IsLeader.

func (*MockForwardCheckerMockRecorder[T]) LeaderClient

func (mr *MockForwardCheckerMockRecorder[T]) LeaderClient() *gomock.Call

LeaderClient indicates an expected call of LeaderClient.

func (*MockForwardCheckerMockRecorder[T]) LeaderOnly

func (mr *MockForwardCheckerMockRecorder[T]) LeaderOnly(method interface{}) *gomock.Call

LeaderOnly indicates an expected call of LeaderOnly.

Jump to

Keyboard shortcuts

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