Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockPinner
- type MockPinnerMockRecorder
- type MockPinnerPinLeadershipCall
- type MockPinnerPinnedLeadershipCall
- func (c *MockPinnerPinnedLeadershipCall) Do(f func() (map[string][]string, error)) *MockPinnerPinnedLeadershipCall
- func (c *MockPinnerPinnedLeadershipCall) DoAndReturn(f func() (map[string][]string, error)) *MockPinnerPinnedLeadershipCall
- func (c *MockPinnerPinnedLeadershipCall) Return(arg0 map[string][]string, arg1 error) *MockPinnerPinnedLeadershipCall
- type MockPinnerUnpinLeadershipCall
- func (c *MockPinnerUnpinLeadershipCall) Do(f func(string, string) error) *MockPinnerUnpinLeadershipCall
- func (c *MockPinnerUnpinLeadershipCall) DoAndReturn(f func(string, string) error) *MockPinnerUnpinLeadershipCall
- func (c *MockPinnerUnpinLeadershipCall) Return(arg0 error) *MockPinnerUnpinLeadershipCall
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 ¶
func (mr *MockPinnerMockRecorder) PinnedLeadership() *MockPinnerPinnedLeadershipCall
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 ¶
MockPinnerPinLeadershipCall wrap *gomock.Call
func (*MockPinnerPinLeadershipCall) Do ¶
func (c *MockPinnerPinLeadershipCall) Do(f func(string, string) error) *MockPinnerPinLeadershipCall
Do rewrite *gomock.Call.Do
func (*MockPinnerPinLeadershipCall) DoAndReturn ¶
func (c *MockPinnerPinLeadershipCall) DoAndReturn(f func(string, string) error) *MockPinnerPinLeadershipCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPinnerPinLeadershipCall) Return ¶
func (c *MockPinnerPinLeadershipCall) Return(arg0 error) *MockPinnerPinLeadershipCall
Return rewrite *gomock.Call.Return
type MockPinnerPinnedLeadershipCall ¶
MockPinnerPinnedLeadershipCall wrap *gomock.Call
func (*MockPinnerPinnedLeadershipCall) Do ¶
func (c *MockPinnerPinnedLeadershipCall) Do(f func() (map[string][]string, error)) *MockPinnerPinnedLeadershipCall
Do rewrite *gomock.Call.Do
func (*MockPinnerPinnedLeadershipCall) DoAndReturn ¶
func (c *MockPinnerPinnedLeadershipCall) DoAndReturn(f func() (map[string][]string, error)) *MockPinnerPinnedLeadershipCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPinnerPinnedLeadershipCall) Return ¶
func (c *MockPinnerPinnedLeadershipCall) Return(arg0 map[string][]string, arg1 error) *MockPinnerPinnedLeadershipCall
Return rewrite *gomock.Call.Return
type MockPinnerUnpinLeadershipCall ¶
MockPinnerUnpinLeadershipCall wrap *gomock.Call
func (*MockPinnerUnpinLeadershipCall) Do ¶
func (c *MockPinnerUnpinLeadershipCall) Do(f func(string, string) error) *MockPinnerUnpinLeadershipCall
Do rewrite *gomock.Call.Do
func (*MockPinnerUnpinLeadershipCall) DoAndReturn ¶
func (c *MockPinnerUnpinLeadershipCall) DoAndReturn(f func(string, string) error) *MockPinnerUnpinLeadershipCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPinnerUnpinLeadershipCall) Return ¶
func (c *MockPinnerUnpinLeadershipCall) Return(arg0 error) *MockPinnerUnpinLeadershipCall
Return rewrite *gomock.Call.Return