Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AutoOpsRuleStorage ¶
type AutoOpsRuleStorage interface { CreateAutoOpsRule(ctx context.Context, e *domain.AutoOpsRule, environmentNamespace string) error UpdateAutoOpsRule(ctx context.Context, e *domain.AutoOpsRule, environmentNamespace string) error GetAutoOpsRule(ctx context.Context, id, environmentNamespace string) (*domain.AutoOpsRule, error) ListAutoOpsRules( ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int, ) ([]*proto.AutoOpsRule, int, error) }
func NewAutoOpsRuleStorage ¶
func NewAutoOpsRuleStorage(qe mysql.QueryExecer) AutoOpsRuleStorage
type WebhookStorage ¶
type WebhookStorage interface { CreateWebhook(ctx context.Context, webhook *domain.Webhook, environmentNamespace string) error UpdateWebhook(ctx context.Context, webhook *domain.Webhook, environmentNamespace string) error DeleteWebhook(ctx context.Context, id, environmentNamespace string) error GetWebhook(ctx context.Context, id, environmentNamespace string) (*domain.Webhook, error) ListWebhooks( ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int, ) ([]*proto.Webhook, int, int64, error) }
func NewWebhookStorage ¶
func NewWebhookStorage( qe mysql.QueryExecer, ) WebhookStorage
Click to show internal directories.
Click to hide internal directories.