Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReconcileComponents ¶ added in v0.2.3
func ReconcileComponents(config *configuration.Config, client *resty.Client) error
ReconcileComponents modifies the set of components on Statuspage.io to match what is given in the config file. It creates statuspage.Component slices for deletion, creation, and modification, and then hands that data to the correct functions in statuspage/component_api.go
func ReconcileGroups ¶ added in v0.2.3
func ReconcileGroups(config *configuration.Config, client *resty.Client) error
func StatusUpdater ¶ added in v1.0.0
func StatusUpdater(config *configuration.Config, appState *state.State, client *resty.Client) pubsubtypes.PerComponentHandler
StatusUpdater returns a function to handle a possible update against a single component. The returned function is correctly typed to be called by pubsub.ReceiveMessages as a callback.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.