Documentation ¶
Index ¶
- type Notify
- func (c *Notify) AddServiceID(serviceID structs.ServiceID)
- func (m *Notify) Output(id structs.CheckID) string
- func (m *Notify) OutputMap() string
- func (c *Notify) ServiceExists(serviceID structs.ServiceID) bool
- func (m *Notify) State(id structs.CheckID) string
- func (m *Notify) StateMap() string
- func (m *Notify) UpdateCheck(id structs.CheckID, status, output string)
- func (m *Notify) Updates(id structs.CheckID) int
- func (m *Notify) UpdatesMap() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notify ¶
type Notify struct { // A guard to protect an access to the internal attributes // of the notification mock in order to prevent panics // raised by the race conditions detector. sync.RWMutex // contains filtered or unexported fields }
func NewNotifyChan ¶ added in v0.9.0
func (*Notify) AddServiceID ¶ added in v1.8.0
AddServiceID will mock a service being present locally
func (*Notify) ServiceExists ¶ added in v1.8.0
ServiceExists mock
func (*Notify) UpdateCheck ¶
func (*Notify) UpdatesMap ¶
Click to show internal directories.
Click to hide internal directories.