Documentation ¶
Overview ¶
Package loadbalance is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLoadbalancer ¶
type MockLoadbalancer struct {
// contains filtered or unexported fields
}
MockLoadbalancer is a mock of Loadbalancer interface.
func NewMockLoadbalancer ¶
func NewMockLoadbalancer(ctrl *gomock.Controller) *MockLoadbalancer
NewMockLoadbalancer creates a new mock instance.
func (*MockLoadbalancer) EXPECT ¶
func (m *MockLoadbalancer) EXPECT() *MockLoadbalancerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadbalancer) GetPicker ¶
func (m *MockLoadbalancer) GetPicker(arg0 discovery.Result) loadbalance.Picker
GetPicker mocks base method.
type MockLoadbalancerMockRecorder ¶
type MockLoadbalancerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadbalancerMockRecorder is the mock recorder for MockLoadbalancer.
func (*MockLoadbalancerMockRecorder) GetPicker ¶
func (mr *MockLoadbalancerMockRecorder) GetPicker(arg0 interface{}) *gomock.Call
GetPicker indicates an expected call of GetPicker.
func (*MockLoadbalancerMockRecorder) Name ¶
func (mr *MockLoadbalancerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockPicker ¶
type MockPicker struct {
// contains filtered or unexported fields
}
MockPicker is a mock of Picker interface.
func NewMockPicker ¶
func NewMockPicker(ctrl *gomock.Controller) *MockPicker
NewMockPicker creates a new mock instance.
func (*MockPicker) EXPECT ¶
func (m *MockPicker) EXPECT() *MockPickerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPickerMockRecorder ¶
type MockPickerMockRecorder struct {
// contains filtered or unexported fields
}
MockPickerMockRecorder is the mock recorder for MockPicker.
func (*MockPickerMockRecorder) Next ¶
func (mr *MockPickerMockRecorder) Next(ctx, request interface{}) *gomock.Call
Next indicates an expected call of Next.
type MockRebalancer ¶
type MockRebalancer struct {
// contains filtered or unexported fields
}
MockRebalancer is a mock of Rebalancer interface.
func NewMockRebalancer ¶
func NewMockRebalancer(ctrl *gomock.Controller) *MockRebalancer
NewMockRebalancer creates a new mock instance.
func (*MockRebalancer) Delete ¶
func (m *MockRebalancer) Delete(arg0 discovery.Change)
Delete mocks base method.
func (*MockRebalancer) EXPECT ¶
func (m *MockRebalancer) EXPECT() *MockRebalancerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRebalancer) Rebalance ¶
func (m *MockRebalancer) Rebalance(arg0 discovery.Change)
Rebalance mocks base method.
type MockRebalancerMockRecorder ¶
type MockRebalancerMockRecorder struct {
// contains filtered or unexported fields
}
MockRebalancerMockRecorder is the mock recorder for MockRebalancer.
func (*MockRebalancerMockRecorder) Delete ¶
func (mr *MockRebalancerMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRebalancerMockRecorder) Rebalance ¶
func (mr *MockRebalancerMockRecorder) Rebalance(arg0 interface{}) *gomock.Call
Rebalance indicates an expected call of Rebalance.