Documentation
¶
Index ¶
- type Config
- type Store
- func (s *Store) ClaimAlertEvent(ctx context.Context, state uptime.AlertState) (uptime.AlertDecision, error)
- func (s *Store) Cleanup(ctx context.Context, options uptime.CleanupOptions) error
- func (s *Store) Close() error
- func (s *Store) Init(ctx context.Context) error
- func (s *Store) ListServices(ctx context.Context) ([]uptime.Service, error)
- func (s *Store) Name() string
- func (s *Store) QueryDaily(ctx context.Context, options uptime.QueryDailyOptions) ([]uptime.DailyStatus, error)
- func (s *Store) QueryTodaySamples(ctx context.Context, options uptime.QueryTodaySamplesOptions) ([]uptime.TodaySampleStatus, error)
- func (s *Store) RollupDaily(ctx context.Context, options uptime.RollupOptions) error
- func (s *Store) UpsertInstance(ctx context.Context, instance uptime.Instance) error
- func (s *Store) UpsertService(ctx context.Context, service uptime.Service) error
- func (s *Store) WriteHeartbeat(ctx context.Context, heartbeat uptime.Heartbeat) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) ClaimAlertEvent ¶
func (s *Store) ClaimAlertEvent(ctx context.Context, state uptime.AlertState) (uptime.AlertDecision, error)
func (*Store) ListServices ¶
func (*Store) QueryDaily ¶
func (s *Store) QueryDaily(ctx context.Context, options uptime.QueryDailyOptions) ([]uptime.DailyStatus, error)
func (*Store) QueryTodaySamples ¶
func (s *Store) QueryTodaySamples(ctx context.Context, options uptime.QueryTodaySamplesOptions) ([]uptime.TodaySampleStatus, error)
func (*Store) RollupDaily ¶
func (*Store) UpsertInstance ¶
func (*Store) UpsertService ¶
Click to show internal directories.
Click to hide internal directories.