Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + type Option func(*OrgResource) + func WithBundle(bdl *bundle.Bundle) Option + func WithDBClient(db *dbclient.DBClient) Option + func WithRedisClient(cli *redis.Client) Option + type OrgResource struct + func New(options ...Option) *OrgResource + func (o *OrgResource) DealReceiveTaskEvent(req *apistructs.PipelineTaskEvent) (int64, error) + func (o *OrgResource) DealReceiveTaskRuntimeEvent(req *apistructs.PipelineTaskEvent) (int64, error) + func (o *OrgResource) ListOrgRunningTasks(param *apistructs.OrgRunningTasksListRequest, orgID int64) (int64, []apistructs.OrgRunningTasks, error)