Documentation ¶
Index ¶
- func Handle(ctx *aoptypes.TuneContext) error
- func Initialize(bdl *bundle.Bundle, dbClient *dbclient.Client, report report.Interface)
- 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 ¶
func NewProviderNameByPluginName(point TunePoint) string
func RegisterTunePoint ¶
func RegisterTunePoint(tunePoint TunePoint) error
RegisterTunePoint register tunePoint
Types ¶
type TuneConfigs ¶
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.