Documentation
¶
Index ¶
- Constants
- type Controller
- func (v *Controller) GetDescriptionHTML(includeMonitor, includeGroup bool) string
- func (v *Controller) GetDescriptionMarkdown(includeMonitor, includeGroup bool) string
- func (v *Controller) GetDescriptionText(includeMonitor, includeGroup bool) string
- func (v *Controller) GetGroup() string
- func (v *Controller) GetMonitor() string
- func (v *Controller) GetTitle(includeMonitor, includeGroup bool) string
- func (v *Controller) GetType() string
- type HashInitialState
- func (v *HashInitialState) GetDescriptionHTML(includeMonitor, includeGroup bool) string
- func (v *HashInitialState) GetDescriptionMarkdown(includeMonitor, includeGroup bool) string
- func (v *HashInitialState) GetDescriptionText(includeMonitor, includeGroup bool) string
- func (v *HashInitialState) GetGroup() string
- func (v *HashInitialState) GetMonitor() string
- func (v *HashInitialState) GetTitle(includeMonitor, includeGroup bool) string
- func (v *HashInitialState) GetType() string
- type HashRecoveryState
- func (v *HashRecoveryState) GetDescriptionHTML(includeMonitor, includeGroup bool) string
- func (v *HashRecoveryState) GetDescriptionMarkdown(includeMonitor, includeGroup bool) string
- func (v *HashRecoveryState) GetDescriptionText(includeMonitor, includeGroup bool) string
- func (v *HashRecoveryState) GetGroup() string
- func (v *HashRecoveryState) GetMonitor() string
- func (v *HashRecoveryState) GetTitle(includeMonitor, includeGroup bool) string
- func (v *HashRecoveryState) GetType() string
- type HashUnknownState
- func (v *HashUnknownState) GetDescriptionHTML(includeMonitor, includeGroup bool) string
- func (v *HashUnknownState) GetDescriptionMarkdown(includeMonitor, includeGroup bool) string
- func (v *HashUnknownState) GetDescriptionText(includeMonitor, includeGroup bool) string
- func (v *HashUnknownState) GetGroup() string
- func (v *HashUnknownState) GetMonitor() string
- func (v *HashUnknownState) GetTitle(includeMonitor, includeGroup bool) string
- func (v *HashUnknownState) GetType() string
Constants ¶
View Source
const (
ControllerType = "split_controller"
)
View Source
const (
HashInitialStateType = "split_hash_initial_state"
)
View Source
const (
HashRecoveryStateType = "split_hash_recovery_state"
)
View Source
const (
HashUnknownStateType = "split_hash_unknown_state"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
Timestamp time.Time
SplitAddress string
ExpectedController string
ActualController string
Group string
Monitor string
}
func NewController ¶
func NewController(timestamp time.Time, monitor, group, splitAddress, expectedController, actualController string) *Controller
func (*Controller) GetDescriptionHTML ¶ added in v0.1.0
func (v *Controller) GetDescriptionHTML(includeMonitor, includeGroup bool) string
func (*Controller) GetDescriptionMarkdown ¶ added in v0.1.0
func (v *Controller) GetDescriptionMarkdown(includeMonitor, includeGroup bool) string
func (*Controller) GetDescriptionText ¶ added in v0.1.0
func (v *Controller) GetDescriptionText(includeMonitor, includeGroup bool) string
func (*Controller) GetGroup ¶
func (v *Controller) GetGroup() string
func (*Controller) GetMonitor ¶
func (v *Controller) GetMonitor() string
func (*Controller) GetTitle ¶
func (v *Controller) GetTitle(includeMonitor, includeGroup bool) string
func (*Controller) GetType ¶
func (v *Controller) GetType() string
type HashInitialState ¶ added in v0.1.0
type HashInitialState struct {
Timestamp time.Time
SplitAddress string
Hash string
Group string
Monitor string
}
func NewHashInitialState ¶ added in v0.1.0
func NewHashInitialState(timestamp time.Time, monitor, group, splitAddress, hash string) *HashInitialState
func (*HashInitialState) GetDescriptionHTML ¶ added in v0.1.0
func (v *HashInitialState) GetDescriptionHTML(includeMonitor, includeGroup bool) string
func (*HashInitialState) GetDescriptionMarkdown ¶ added in v0.1.0
func (v *HashInitialState) GetDescriptionMarkdown(includeMonitor, includeGroup bool) string
func (*HashInitialState) GetDescriptionText ¶ added in v0.1.0
func (v *HashInitialState) GetDescriptionText(includeMonitor, includeGroup bool) string
func (*HashInitialState) GetGroup ¶ added in v0.1.0
func (v *HashInitialState) GetGroup() string
func (*HashInitialState) GetMonitor ¶ added in v0.1.0
func (v *HashInitialState) GetMonitor() string
func (*HashInitialState) GetTitle ¶ added in v0.1.0
func (v *HashInitialState) GetTitle(includeMonitor, includeGroup bool) string
func (*HashInitialState) GetType ¶ added in v0.1.0
func (v *HashInitialState) GetType() string
type HashRecoveryState ¶ added in v0.1.0
type HashRecoveryState struct {
Timestamp time.Time
SplitAddress string
Hash string
Group string
Monitor string
}
func NewHashRecoveryState ¶ added in v0.1.0
func NewHashRecoveryState(timestamp time.Time, monitor, group, splitAddress, hash string) *HashRecoveryState
func (*HashRecoveryState) GetDescriptionHTML ¶ added in v0.1.0
func (v *HashRecoveryState) GetDescriptionHTML(includeMonitor, includeGroup bool) string
func (*HashRecoveryState) GetDescriptionMarkdown ¶ added in v0.1.0
func (v *HashRecoveryState) GetDescriptionMarkdown(includeMonitor, includeGroup bool) string
func (*HashRecoveryState) GetDescriptionText ¶ added in v0.1.0
func (v *HashRecoveryState) GetDescriptionText(includeMonitor, includeGroup bool) string
func (*HashRecoveryState) GetGroup ¶ added in v0.1.0
func (v *HashRecoveryState) GetGroup() string
func (*HashRecoveryState) GetMonitor ¶ added in v0.1.0
func (v *HashRecoveryState) GetMonitor() string
func (*HashRecoveryState) GetTitle ¶ added in v0.1.0
func (v *HashRecoveryState) GetTitle(includeMonitor, includeGroup bool) string
func (*HashRecoveryState) GetType ¶ added in v0.1.0
func (v *HashRecoveryState) GetType() string
type HashUnknownState ¶ added in v0.1.0
type HashUnknownState struct {
Timestamp time.Time
SplitAddress string
ExpectedHash string
ActualHash string
Group string
Monitor string
}
func NewHashUnknownState ¶ added in v0.1.0
func NewHashUnknownState(timestamp time.Time, monitor, group, splitAddress, expectedHash, actualHash string) *HashUnknownState
func (*HashUnknownState) GetDescriptionHTML ¶ added in v0.1.0
func (v *HashUnknownState) GetDescriptionHTML(includeMonitor, includeGroup bool) string
func (*HashUnknownState) GetDescriptionMarkdown ¶ added in v0.1.0
func (v *HashUnknownState) GetDescriptionMarkdown(includeMonitor, includeGroup bool) string
func (*HashUnknownState) GetDescriptionText ¶ added in v0.1.0
func (v *HashUnknownState) GetDescriptionText(includeMonitor, includeGroup bool) string
func (*HashUnknownState) GetGroup ¶ added in v0.1.0
func (v *HashUnknownState) GetGroup() string
func (*HashUnknownState) GetMonitor ¶ added in v0.1.0
func (v *HashUnknownState) GetMonitor() string
func (*HashUnknownState) GetTitle ¶ added in v0.1.0
func (v *HashUnknownState) GetTitle(includeMonitor, includeGroup bool) string
func (*HashUnknownState) GetType ¶ added in v0.1.0
func (v *HashUnknownState) GetType() string
Click to show internal directories.
Click to hide internal directories.