Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- type State
- func (_m *State) AddCheck(c types.CheckSpec)
- func (_m *State) AddDestination(dst types.Destination)
- func (_m *State) AddService(svc types.Service)
- func (_m *State) Copy() state.State
- func (_m *State) DeleteDestination(dst types.Destination)
- func (_m *State) GetChecks() []types.CheckSpec
- func (_m *State) GetDestinations(svc *types.Service) []types.Destination
- func (_m *State) GetServices() []types.Service
- func (_m *State) SetChecks(checks state.Checks)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
State is an autogenerated mock type for the State type
func (*State) AddDestination ¶
func (_m *State) AddDestination(dst types.Destination)
AddDestination provides a mock function with given fields: dst
func (*State) AddService ¶
AddService provides a mock function with given fields: svc
func (*State) DeleteDestination ¶
func (_m *State) DeleteDestination(dst types.Destination)
DeleteDestination provides a mock function with given fields: dst
func (*State) GetDestinations ¶
func (_m *State) GetDestinations(svc *types.Service) []types.Destination
GetDestinations provides a mock function with given fields: svc
func (*State) GetServices ¶
GetServices provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.