mocks

package
v0.0.0-...-298751d Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPinner

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

MockPinner is a mock of Pinner interface.

func NewMockPinner

func NewMockPinner(ctrl *gomock.Controller) *MockPinner

NewMockPinner creates a new mock instance.

func (*MockPinner) EXPECT

func (m *MockPinner) EXPECT() *MockPinnerMockRecorder

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

func (*MockPinner) PinLeadership

func (m *MockPinner) PinLeadership(arg0, arg1 string) error

PinLeadership mocks base method.

func (*MockPinner) PinnedLeadership

func (m *MockPinner) PinnedLeadership() (map[string][]string, error)

PinnedLeadership mocks base method.

func (*MockPinner) UnpinLeadership

func (m *MockPinner) UnpinLeadership(arg0, arg1 string) error

UnpinLeadership mocks base method.

type MockPinnerMockRecorder

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

MockPinnerMockRecorder is the mock recorder for MockPinner.

func (*MockPinnerMockRecorder) PinLeadership

func (mr *MockPinnerMockRecorder) PinLeadership(arg0, arg1 any) *gomock.Call

PinLeadership indicates an expected call of PinLeadership.

func (*MockPinnerMockRecorder) PinnedLeadership

func (mr *MockPinnerMockRecorder) PinnedLeadership() *gomock.Call

PinnedLeadership indicates an expected call of PinnedLeadership.

func (*MockPinnerMockRecorder) UnpinLeadership

func (mr *MockPinnerMockRecorder) UnpinLeadership(arg0, arg1 any) *gomock.Call

UnpinLeadership indicates an expected call of UnpinLeadership.

Jump to

Keyboard shortcuts

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