loadbalance

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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

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.

func (*MockLoadbalancer) Name

func (m *MockLoadbalancer) Name() string

Name 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

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.

func (*MockPicker) Next

func (m *MockPicker) Next(ctx context.Context, request interface{}) discovery.Instance

Next mocks base method.

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

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.

Jump to

Keyboard shortcuts

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