package repo

import (
	"context"

	"github.com/tidbcloud/chaos-svc/pkg/domain/constant"
	"github.com/tidbcloud/pkgv2/bizerr"
)

type WorkflowLockRepo interface {
	Lock(ctx context.Context, scene constant.LockScene, identifier string) bizerr.BizError
	Unlock(ctx context.Context, scene constant.LockScene, identifier string) bizerr.BizError
}
