Documentation ¶
Index ¶
- func Handle(ctx *aoptypes.TuneContext) error
- func Initialize(bdl *bundle.Bundle, dbClient *dbclient.Client, report *reportsvc.ReportSvc)
- func NewContextForPipeline(p spec.Pipeline, trigger aoptypes.TuneTrigger, ...) *aoptypes.TuneContext
- func NewContextForTask(task spec.PipelineTask, p spec.Pipeline, trigger aoptypes.TuneTrigger, ...) *aoptypes.TuneContext
- func NewProviderNameByPluginName(point TunePoint) string
- func RegisterTunePoint(tunePoint TunePoint) error
- type TuneConfigs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func NewContextForPipeline ¶
func NewContextForPipeline(p spec.Pipeline, trigger aoptypes.TuneTrigger, customKVs ...map[interface{}]interface{}) *aoptypes.TuneContext
NewContextForPipeline 用于快速构造流水线 AOP 上下文
func NewContextForTask ¶
func NewContextForTask(task spec.PipelineTask, p spec.Pipeline, trigger aoptypes.TuneTrigger, customKVs ...map[interface{}]interface{}) *aoptypes.TuneContext
NewContextForTask 用于快速构任务 AOP 上下文
func NewProviderNameByPluginName ¶ added in v1.3.0
func NewProviderNameByPluginName(point TunePoint) string
func RegisterTunePoint ¶ added in v1.3.0
func RegisterTunePoint(tunePoint TunePoint) error
RegisterTunePoint register tunePoint
Types ¶
type TuneConfigs ¶ added in v1.3.0
type TuneConfigs map[aoptypes.TuneType]map[aoptypes.TuneTrigger][]string
TuneConfigs Save the TunePointName of all types of call chains under different trigger
Click to show internal directories.
Click to hide internal directories.