Documentation ¶
Index ¶
- type Checks
- type Destinations
- type FusisState
- func (s *FusisState) AddCheck(check types.CheckSpec)
- func (s *FusisState) AddDestination(dst types.Destination)
- func (s *FusisState) AddService(svc types.Service)
- func (s *FusisState) Copy() State
- func (s *FusisState) DeleteDestination(dst types.Destination)
- func (s *FusisState) GetChecks() []types.CheckSpec
- func (s *FusisState) GetDestinations(svc *types.Service) []types.Destination
- func (s *FusisState) GetServices() []types.Service
- func (s *FusisState) SetChecks(checks Checks)
- type Services
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destinations ¶
type Destinations map[string]types.Destination
type FusisState ¶
State...
func (*FusisState) AddCheck ¶
func (s *FusisState) AddCheck(check types.CheckSpec)
func (*FusisState) AddDestination ¶
func (s *FusisState) AddDestination(dst types.Destination)
func (*FusisState) AddService ¶
func (s *FusisState) AddService(svc types.Service)
func (*FusisState) Copy ¶
func (s *FusisState) Copy() State
func (*FusisState) DeleteDestination ¶
func (s *FusisState) DeleteDestination(dst types.Destination)
func (*FusisState) GetChecks ¶
func (s *FusisState) GetChecks() []types.CheckSpec
func (*FusisState) GetDestinations ¶
func (s *FusisState) GetDestinations(svc *types.Service) []types.Destination
func (*FusisState) GetServices ¶
func (s *FusisState) GetServices() []types.Service
func (*FusisState) SetChecks ¶
func (s *FusisState) SetChecks(checks Checks)
type State ¶
type State interface { GetServices() []types.Service AddService(svc types.Service) // SetDestinations(dsts Destinations) GetDestinations(svc *types.Service) []types.Destination AddDestination(dst types.Destination) DeleteDestination(dst types.Destination) AddCheck(c types.CheckSpec) GetChecks() []types.CheckSpec SetChecks(checks Checks) Copy() State }
Click to show internal directories.
Click to hide internal directories.