Documentation ¶
Index ¶
- func HandleListAlertTemplates(svc *Service, tag string, suppliedAlertVariableNames []string) http.HandlerFunc
- type Alert
- type Policy
- type Rule
- type Service
- func (s *Service) GetAlertPolicy(ctx context.Context, projectSlug string, resource string) (*Policy, error)
- func (s *Service) GetAlertTemplate(ctx context.Context, urn string) (*Template, error)
- func (s *Service) GetProjectDataSource(ctx context.Context, projectSlug string) (string, error)
- func (s *Service) ListAlertTemplates(ctx context.Context, tag string) ([]Template, error)
- func (s *Service) ListAlerts(ctx context.Context, projectSlug string, resource string) ([]Alert, error)
- func (s *Service) UpsertAlertPolicy(ctx context.Context, projectSlug string, update Policy) (*Policy, error)
- type Template
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleListAlertTemplates ¶
func HandleListAlertTemplates(svc *Service, tag string, suppliedAlertVariableNames []string) http.HandlerFunc
Types ¶
type Service ¶
type Service struct {
Siren sirenv1beta1.SirenServiceClient
}
func (*Service) GetAlertPolicy ¶
func (*Service) GetAlertTemplate ¶
func (*Service) GetProjectDataSource ¶
func (*Service) ListAlertTemplates ¶
func (*Service) ListAlerts ¶
Click to show internal directories.
Click to hide internal directories.