statuspage

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL