mocks

package
v0.0.0-...-c5633df Latest Latest
Warning

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

Go to latest
Published: Dec 20, 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) *MockPinnerPinLeadershipCall

PinLeadership indicates an expected call of PinLeadership.

func (*MockPinnerMockRecorder) PinnedLeadership

PinnedLeadership indicates an expected call of PinnedLeadership.

func (*MockPinnerMockRecorder) UnpinLeadership

func (mr *MockPinnerMockRecorder) UnpinLeadership(arg0, arg1 any) *MockPinnerUnpinLeadershipCall

UnpinLeadership indicates an expected call of UnpinLeadership.

type MockPinnerPinLeadershipCall

type MockPinnerPinLeadershipCall struct {
	*gomock.Call
}

MockPinnerPinLeadershipCall wrap *gomock.Call

func (*MockPinnerPinLeadershipCall) Do

Do rewrite *gomock.Call.Do

func (*MockPinnerPinLeadershipCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPinnerPinLeadershipCall) Return

Return rewrite *gomock.Call.Return

type MockPinnerPinnedLeadershipCall

type MockPinnerPinnedLeadershipCall struct {
	*gomock.Call
}

MockPinnerPinnedLeadershipCall wrap *gomock.Call

func (*MockPinnerPinnedLeadershipCall) Do

Do rewrite *gomock.Call.Do

func (*MockPinnerPinnedLeadershipCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPinnerPinnedLeadershipCall) Return

Return rewrite *gomock.Call.Return

type MockPinnerUnpinLeadershipCall

type MockPinnerUnpinLeadershipCall struct {
	*gomock.Call
}

MockPinnerUnpinLeadershipCall wrap *gomock.Call

func (*MockPinnerUnpinLeadershipCall) Do

Do rewrite *gomock.Call.Do

func (*MockPinnerUnpinLeadershipCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPinnerUnpinLeadershipCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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