mocks

package
v0.0.0-...-22c38b1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Balancer

type Balancer struct {
	mock.Mock
}

Balancer is an autogenerated mock type for the Balancer type

func (*Balancer) AddCheck

func (_m *Balancer) AddCheck(check types.CheckSpec) error

AddCheck provides a mock function with given fields: check

func (*Balancer) AddDestination

func (_m *Balancer) AddDestination(_a0 *types.Service, _a1 *types.Destination) error

AddDestination provides a mock function with given fields: _a0, _a1

func (*Balancer) AddService

func (_m *Balancer) AddService(_a0 *types.Service) error

AddService provides a mock function with given fields: _a0

func (*Balancer) DeleteCheck

func (_m *Balancer) DeleteCheck(check types.CheckSpec) error

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

func (_m *Balancer) DeleteService(_a0 string) error

DeleteService provides a mock function with given fields: _a0

func (*Balancer) GetDestinations

func (_m *Balancer) GetDestinations(svc *types.Service) ([]types.Destination, error)

GetDestinations provides a mock function with given fields: svc

func (*Balancer) GetService

func (_m *Balancer) GetService(name string) (*types.Service, error)

GetService provides a mock function with given fields: name

func (*Balancer) GetServices

func (_m *Balancer) GetServices() ([]types.Service, error)

GetServices provides a mock function with given fields:

func (*Balancer) IsLeader

func (_m *Balancer) IsLeader() bool

IsLeader provides a mock function with given fields:

func (*Balancer) Shutdown

func (_m *Balancer) Shutdown()

Shutdown provides a mock function with given fields:

Jump to

Keyboard shortcuts

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