Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- type Balancer
- func (_m *Balancer) AddCheck(check types.CheckSpec) error
- func (_m *Balancer) AddDestination(_a0 *types.Service, _a1 *types.Destination) error
- func (_m *Balancer) AddService(_a0 *types.Service) error
- func (_m *Balancer) DeleteCheck(check types.CheckSpec) error
- func (_m *Balancer) DeleteDestination(_a0 *types.Destination) error
- func (_m *Balancer) DeleteService(_a0 string) error
- func (_m *Balancer) GetDestinations(svc *types.Service) ([]types.Destination, error)
- func (_m *Balancer) GetService(name string) (*types.Service, error)
- func (_m *Balancer) GetServices() ([]types.Service, error)
- func (_m *Balancer) IsLeader() bool
- func (_m *Balancer) Shutdown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balancer ¶
Balancer is an autogenerated mock type for the Balancer type
func (*Balancer) AddDestination ¶
AddDestination provides a mock function with given fields: _a0, _a1
func (*Balancer) AddService ¶
AddService provides a mock function with given fields: _a0
func (*Balancer) DeleteCheck ¶
DeleteCheck provides a mock function with given fields: check
func (*Balancer) DeleteDestination ¶
func (_m *Balancer) DeleteDestination(_a0 *types.Destination) error
DeleteDestination provides a mock function with given fields: _a0
func (*Balancer) DeleteService ¶
DeleteService provides a mock function with given fields: _a0
func (*Balancer) GetDestinations ¶
GetDestinations provides a mock function with given fields: svc
func (*Balancer) GetService ¶
GetService provides a mock function with given fields: name
func (*Balancer) GetServices ¶
GetServices provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.