Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertLoader ¶
type AlertLoader struct {
// contains filtered or unexported fields
}
func NewAlertLoader ¶
func NewAlertLoader(ctx context.Context, store alert.Store) *AlertLoader
func (*AlertLoader) FetchOneAlert ¶
func (*AlertLoader) FetchOneAlertState ¶
type CMLoader ¶
type CMLoader struct {
// contains filtered or unexported fields
}
CMLoader will load user contact methods from postgres.
func NewCMLoader ¶
func NewCMLoader(ctx context.Context, store contactmethod.Store) *CMLoader
NewCMLoader will create a new CMLoader using the provided store for fetch operations.
func (*CMLoader) FetchOne ¶
func (l *CMLoader) FetchOne(ctx context.Context, id string) (*contactmethod.ContactMethod, error)
FetchOne will fetch a single record from the store, batching requests to the store.
type HeartbeatMonitorLoader ¶ added in v0.24.0
type HeartbeatMonitorLoader struct {
// contains filtered or unexported fields
}
func NewHeartbeatMonitorLoader ¶ added in v0.24.0
func NewHeartbeatMonitorLoader(ctx context.Context, store heartbeat.Store) *HeartbeatMonitorLoader
type NotificationMessageStatusLoader ¶ added in v0.25.0
type NotificationMessageStatusLoader struct {
// contains filtered or unexported fields
}
func NewNotificationMessageStatusLoader ¶ added in v0.25.0
func NewNotificationMessageStatusLoader(ctx context.Context, store notification.Store) *NotificationMessageStatusLoader
func (*NotificationMessageStatusLoader) FetchOne ¶ added in v0.25.0
func (l *NotificationMessageStatusLoader) FetchOne(ctx context.Context, id string) (*notification.MessageStatus, error)
type PolicyLoader ¶
type PolicyLoader struct {
// contains filtered or unexported fields
}
func NewPolicyLoader ¶
func NewPolicyLoader(ctx context.Context, store escalation.Store) *PolicyLoader
func (*PolicyLoader) FetchOne ¶
func (p *PolicyLoader) FetchOne(ctx context.Context, id string) (*escalation.Policy, error)
type RotationLoader ¶
type RotationLoader struct {
// contains filtered or unexported fields
}
func NewRotationLoader ¶
func NewRotationLoader(ctx context.Context, store rotation.Store) *RotationLoader
type ScheduleLoader ¶
type ScheduleLoader struct {
// contains filtered or unexported fields
}
func NewScheduleLoader ¶
func NewScheduleLoader(ctx context.Context, store schedule.Store) *ScheduleLoader
type ServiceLoader ¶
type ServiceLoader struct {
// contains filtered or unexported fields
}
func NewServiceLoader ¶
func NewServiceLoader(ctx context.Context, store service.Store) *ServiceLoader
type UserLoader ¶
type UserLoader struct {
// contains filtered or unexported fields
}
func NewUserLoader ¶
func NewUserLoader(ctx context.Context, store user.Store) *UserLoader
Click to show internal directories.
Click to hide internal directories.