Documentation ¶
Index ¶
- type Option
- type 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrgResource ¶
type OrgResource struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...Option) *OrgResource
func (*OrgResource) DealReceiveTaskEvent ¶
func (o *OrgResource) DealReceiveTaskEvent(req *apistructs.PipelineTaskEvent) (int64, error)
DealReceiveTaskEvent 处理接收到 pipeline 的 task 事件
func (*OrgResource) DealReceiveTaskRuntimeEvent ¶
func (o *OrgResource) DealReceiveTaskRuntimeEvent(req *apistructs.PipelineTaskEvent) (int64, error)
DealReceiveTaskRuntimeEvent 处理接收到 pipeline 的 runtimeID 事件
func (*OrgResource) ListOrgRunningTasks ¶
func (o *OrgResource) ListOrgRunningTasks(param *apistructs.OrgRunningTasksListRequest, orgID int64) (int64, []apistructs.OrgRunningTasks, error)
ListOrgRunningTasks impl: list running task or service by orgID
Click to show internal directories.
Click to hide internal directories.