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, environmentId string) error UpdateAutoOpsRule(ctx context.Context, e *domain.AutoOpsRule, environmentId string) error GetAutoOpsRule(ctx context.Context, id, environmentId 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 ProgressiveRolloutStorage ¶ added in v0.4.0
type ProgressiveRolloutStorage interface { CreateProgressiveRollout( ctx context.Context, progressiveRollout *domain.ProgressiveRollout, environmentId string, ) error GetProgressiveRollout(ctx context.Context, id, environmentId string) (*domain.ProgressiveRollout, error) DeleteProgressiveRollout(ctx context.Context, id, environmentId string) error ListProgressiveRollouts( ctx context.Context, whereParts []mysql.WherePart, orders []*mysql.Order, limit, offset int, ) ([]*autoopsproto.ProgressiveRollout, int64, int, error) UpdateProgressiveRollout(ctx context.Context, progressiveRollout *domain.ProgressiveRollout, environmentId string, ) error }
func NewProgressiveRolloutStorage ¶ added in v0.4.0
func NewProgressiveRolloutStorage(qe mysql.QueryExecer) ProgressiveRolloutStorage
Click to show internal directories.
Click to hide internal directories.