Documentation ¶
Index ¶
- Constants
- Variables
- func GetPlanRecordDB(ctx context.Context, defDB *gorm.DB) *gorm.DB
- func GetTaskRecordDB(ctx context.Context, defDB *gorm.DB) *gorm.DB
- func NewNodeRepository(etcdClient *clientv3.Client, cache cachex.Cache) repo.NodeRepository
- func NewQueRepository(cache cachex.Cache) repo.QueRepository
- func NewRecordRepository(db *gorm.DB) repo.RecordRepository
Constants ¶
View Source
const (
NodeNs = "node_ns"
)
View Source
const (
QueNs = "que_ns"
)
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewQueRepository, NewRecordRepository, NewNodeRepository)
Functions ¶
func NewNodeRepository ¶
func NewQueRepository ¶
func NewQueRepository(cache cachex.Cache) repo.QueRepository
func NewRecordRepository ¶
func NewRecordRepository(db *gorm.DB) repo.RecordRepository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.